You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ASoC: atmel: mchp-asrc: fix printk format specifier warnings
This patch fixes the following warnings discovered on 64 bit platforms:
sound/soc/atmel/mchp-asrc.c:1275:25: error: format '%x' expects
argument of type 'unsigned int', but argument 6 has type 'dma_addr_t'
{aka 'long long unsigned int'} [-Werror=format=]
sound/soc/atmel/mchp-asrc-dma.c:275:17: error: format '%x' expects
argument of type 'unsigned int', but argument 6 has type 'phys_addr_t'
{aka 'long long unsigned int'} [-Werror=format=]
sound/soc/atmel/mchp-asrc-dma.c:677:25: error: format '%u' expects
argument of type 'unsigned int', but argument 6 has type 'size_t'
{aka 'long unsigned int'} [-Werror=format=]
Fix specifiers using guidance in [1].
Link: https://www.kernel.org/doc/Documentation/printk-formats.txt [1]
Fixes: 0b902c5 ("ASoC: atmel: Add ASRC driver")
Signed-off-by: Cristian Birsan <[email protected]>
Signed-off-by: Conor Dooley <[email protected]>
Acked-by: Nicolas Ferre <[email protected]>
(cherry picked from linux-6.1-trunk/at91/sound)
Signed-off-by: Andrei Simion <[email protected]>
0 commit comments