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)
commiteab216e9cc636c24cec06bdf57a80f4c26b34493
treee05d4952208d6c05bceeeb6f4c5062f63dfc80d5
parent6d94a03c80ce7bd0b72483246277c5d21e7c5ff3
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