[PATCH v3 11/15] ASoC: Intel: avs: Machine board registration

Mark Brown broonie at kernel.org
Thu May 26 19:44:38 CEST 2022


On Thu, May 26, 2022 at 09:24:43AM -0700, Guenter Roeck wrote:
> On Mon, May 16, 2022 at 12:11:12PM +0200, Cezary Rojewski wrote:

> > +	if (fls(mach->mach_params.i2s_link_mask) > num_ssps) {
> > +		dev_err(adev->dev, "Platform supports %d SSPs but board %s requires SSP%ld\n",

>    sound/soc/intel/avs/board_selection.c: In function 'avs_register_i2s_board':
> >> sound/soc/intel/avs/board_selection.c:328:36: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'int' [-Wformat=]
>      328 |                 dev_err(adev->dev, "Platform supports %d SSPs but board %s requires SSP%ld\n",
>                                                                                                   ^^^
> Reported by 0-day but still made it into mainline.

FWIW given how hard the 0-day reports have become to read I'd not rely
on people paying attention to things that are clearly pure build
coverage based off a 0-day report alone.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20220526/3a33b75d/attachment.sig>


More information about the Alsa-devel mailing list