]> git.baikalelectronics.ru Git - kernel.git/commit
rapidio: adjust five function calls together with a variable assignment
authorMarkus Elfring <elfring@users.sourceforge.net>
Tue, 6 Feb 2018 23:39:48 +0000 (15:39 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 7 Feb 2018 02:32:46 +0000 (18:32 -0800)
commit2dee85be72c3728ff74859a7f9160c71ce92fbf2
treebdfec353c6ea7a10ce435eb74b678eb344dafe64
parent4900f5f3b44553a5c68741b572df2f889adee883
rapidio: adjust five function calls together with a variable assignment

checkpatch pointed information out like the following.

  ERROR: do not use assignment in if condition

Thus fix the affected source code places.

Link: http://lkml.kernel.org/r/6f5631ed-ec3e-503d-850a-ab09b5736dbe@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