]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: fsl-mc: be consistent when checking strcmp() return
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Tue, 27 Jun 2017 14:41:22 +0000 (17:41 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Jun 2017 14:38:52 +0000 (16:38 +0200)
commitb93ad9a067e1515af42da7d56bc61f1a25075f94
treeb06380dcbf4b74bb5e6a422de9836973a9c9f631
parent714cc27d41b5676257e6b23851ff4afacf395883
staging: fsl-mc: be consistent when checking strcmp() return

Stick to one way of checking the return code of strcmp(): use '!'.
This was suggested in a review comment.

Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-mc/bus/fsl-mc-allocator.c