]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/rapidio/devices/tsi721_dma.c: adjust six checks for null pointers
authorMarkus Elfring <elfring@users.sourceforge.net>
Tue, 6 Feb 2018 23:40:13 +0000 (15:40 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 7 Feb 2018 02:32:46 +0000 (18:32 -0800)
commite34e60848b303f4976dae56ebbf646d73bb878cc
treee05d4952208d6c05bceeeb6f4c5062f63dfc80d5
parent9668b16f52d40f570e4b9175e63e654d94410452
drivers/rapidio/devices/tsi721_dma.c: adjust six checks for null pointers

checkpatch pointed out the following:

  Comparison to NULL could be written !...

Thus fix the affected source code places.

Link: http://lkml.kernel.org/r/c3e79a1a-891e-cb62-990f-bd99839311b9@users.sourceforge.net
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Acked-by: Alexandre Bounine <alexandre.bounine@idt.com>
Cc: Matt Porter <mporter@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rapidio/devices/tsi721_dma.c