]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: mpu401: Adjust four checks for null pointers
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 12 Aug 2017 18:50:16 +0000 (20:50 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sat, 12 Aug 2017 21:35:48 +0000 (23:35 +0200)
commit7034f3602410d817a94a47021f51d1e50b20043f
treec790532224128c5cb9a53f71fb1c34c83bc13784
parentfa7c4b85be04a3bc916b7ef735fd4cda2655dad4
ALSA: mpu401: Adjust four checks for null pointers

The script “checkpatch.pl” pointed information out like the following.

Comparison to NULL could be written !…

Thus fix the affected source code places.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/mpu401/mpu401_uart.c