[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2733d82a-38f7-d5fc-416c-2bfe5dc91a12@collabora.com>
Date: Thu, 9 Dec 2021 16:03:03 +0100
From: AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>
To: Jiaxin Yu <jiaxin.yu@...iatek.com>, broonie@...nel.org,
matthias.bgg@...il.com, alsa-devel@...a-project.org,
linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, linux-kernel@...r.kernel.org
Cc: tzungbi@...gle.com, trevor.wu@...iatek.com, yc.hung@...iatek.com,
kernel test robot <lkp@...el.com>
Subject: Re: [PATCH] ASoC: mediatek: assign correct type to argument
Il 09/12/21 08:32, Jiaxin Yu ha scritto:
> Fix the following sparse warning: (new ones prefixed by >>)
>>> sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c:370:33:
> sparse: sparse: incorrect type in argument 3 (different base types)
> sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c:370:33: sparse:
> expected unsigned int to
> sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c:370:33: sparse:
> got restricted snd_pcm_format_t [usertype]
>
> Correct discription of format, use S32_LE and S24_LE to distinguish the
> different 32bit.
>
> Signed-off-by: Jiaxin Yu <jiaxin.yu@...iatek.com>
> Reported-by: kernel test robot <lkp@...el.com>
> Reviewed-by: Tzung-Bi Shih <tzungbi@...gle.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>
Powered by blists - more mailing lists