]> git.baikalelectronics.ru Git - kernel.git/commit
rapidio: adjust 12 checks for null pointers
authorMarkus Elfring <elfring@users.sourceforge.net>
Tue, 6 Feb 2018 23:39:44 +0000 (15:39 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 7 Feb 2018 02:32:46 +0000 (18:32 -0800)
commit4900f5f3b44553a5c68741b572df2f889adee883
treec808301535d080c6bbf66ebfea12912378b835fa
parentace1a169bbd9f15c397ec3df5b078687d4ade351
rapidio: adjust 12 checks for null pointers

checkpatch pointed information out like the following.

  Comparison to NULL could be written ...

Thus fix the affected source code places.

Link: http://lkml.kernel.org/r/739f9f1c-3ebe-c21b-c5e2-31976cfbc0ee@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/rio.c