]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: lustre: libcfs: repair improper unlikely test
authorJames Simmons <jsimmons@infradead.org>
Wed, 30 Nov 2016 01:33:33 +0000 (20:33 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Nov 2016 11:59:52 +0000 (12:59 +0100)
commita4424bf50b3eefd2dd08490aab19fdb752808b50
tree68e24a2f72c42b8659f1b4501d43d07d56ab8bb1
parent5bcf2a921ba0bcdcbd13690043ff6c9a0d029ae3
staging: lustre: libcfs: repair improper unlikely test

The scripts to replace NULL test got confused with the
macro parenthesis so the unlikely test in libcfs_private.h
ended up incorrect. This fixes this error.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/linux/libcfs/libcfs_private.h