]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: sscape: Use correct format identifier for size_t
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>
Mon, 11 Apr 2016 13:25:52 +0000 (09:25 -0400)
committerTakashi Iwai <tiwai@suse.de>
Mon, 11 Apr 2016 14:06:17 +0000 (16:06 +0200)
commit88e7daa78c331ea83a0aa44caf2a9b9e1f8db0e6
tree3f9eea569721d249fdbc95d7cf48e4c7fd11289d
parent71a5e1374aa5cc547a691203da0f327a1d78ac3f
ALSA: sscape: Use correct format identifier for size_t

The 'size' member of a struct firmware is passed to snd_printk with a
respective format string using the %d identifier. The 'size' member is
of type size_t, but format identifier %d indicates a signed int data
type. This patch replaces the %d format identifier with the correct %zu
format identifier for size_t data types.

Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/sscape.c