WSL2-Linux-Kernel/sound/soc/intel
Uwe Kleine-König d6f8168e43
ASoC: Intel: avs: Fix build error on arc, m68k and sparc
On some platforms (i.e. arc, m68k and sparc) __fls returns an int (while
on most platforms it returns an unsigned long). This triggers a format
warning on these few platforms as the driver uses %ld to print a warning.

So explicitly cast the return value to unsigned long to make the warning
go away (and so fix allmodconfig build on the affected architectures).

Fixes: beed983621 ("ASoC: Intel: avs: Machine board registration")
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20220529141250.1979827-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-05-30 16:08:33 +02:00
..
atom ASoC: Intel: atom: use pm_runtime_resume_and_get() 2022-04-27 14:15:27 +01:00
avs ASoC: Intel: avs: Fix build error on arc, m68k and sparc 2022-05-30 16:08:33 +02:00
boards ASoC: rt5640: Do not manipulate pin "Platform Clock" if the "Platform Clock" is not in the DAPM 2022-05-24 12:35:08 +01:00
catpt ASoC: Intel: catpt: Drop redundant enum constant 2022-04-05 10:23:22 +01:00
common ASoC: Intel: common: fix typo for tplg naming 2022-05-26 14:43:26 +01:00
keembay Merge remote-tracking branch 'asoc/for-5.13' into asoc-next 2021-04-23 19:01:02 +01:00
skylake flexible-array transformations for 5.18-rc1 2022-03-24 11:39:32 -07:00
Kconfig ASoC: Intel: avs: PCI driver implementation 2022-05-17 11:58:04 +01:00
Makefile ASoC: Intel: Introduce AVS driver 2022-03-11 16:23:54 +00:00