ALSA: hda: Fix signedness of sscanf() arguments
authorTakashi Iwai <tiwai@suse.de>
Thu, 27 Jan 2022 13:57:17 +0000 (14:57 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Feb 2022 17:34:07 +0000 (18:34 +0100)
commit0c5c643356573ab8c8d11e13123b5da0f910350a
tree695d7bb098606d4abfd50895ca37732d2edf4cea
parentc2a91f1ef38addab652c3c6752c2a1ce20eeaa89
ALSA: hda: Fix signedness of sscanf() arguments

commit 0444f82766f0b5b9c8302ad802dafa5dd0e722d0 upstream.

The %x format of sscanf() takes an unsigned int pointer, while we pass
a signed int pointer.  Practically it's OK, but this may result in a
compile warning.  Let's fix it.

Fixes: a235d5b8e550 ("ALSA: hda: Allow model option to specify PCI SSID alias")
Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/20220127135717.31751-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/hda_auto_parser.c