OpenCloudOS-Kernel/sound/mips
Markus Elfring cdc4398b39 ALSA: sgio2audio: Improve a size determination in snd_sgio2audio_create()
Replace the specification of a data structure by a pointer dereference
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer according to the Linux coding style convention.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2017-11-29 09:29:31 +01:00
..
Kconfig ALSA: Remove deprecated AU1X00 AC97 driver 2016-02-08 08:17:15 +01:00
Makefile ALSA: Remove deprecated AU1X00 AC97 driver 2016-02-08 08:17:15 +01:00
ad1843.c ALSA: mips/ad1843: Use WARN_ON() instead of BUG_ON() 2013-11-06 08:35:16 +01:00
hal2.c ALSA: hal2: Improve a size determination in hal2_create() 2017-11-29 09:28:41 +01:00
hal2.h ALSA: ALSA driver for SGI HAL2 audio device 2008-07-14 09:00:57 +02:00
sgio2audio.c ALSA: sgio2audio: Improve a size determination in snd_sgio2audio_create() 2017-11-29 09:29:31 +01:00