batman-adv: fix boolreturn.cocci warnings
authorkbuild test robot <fengguang.wu@intel.com>
Wed, 6 Jul 2016 02:49:29 +0000 (10:49 +0800)
committerSimon Wunderlich <sw@simonwunderlich.de>
Tue, 9 Aug 2016 05:54:31 +0000 (07:54 +0200)
commit4fd261bf586b0fc932d5fd20d9b1648547b16eca
treeb3f6a75adbb980481b03228614330920743e96c4
parent57b125029c0483ae53abf6d5d26c3eaa1b521573
batman-adv: fix boolreturn.cocci warnings

net/batman-adv/bridge_loop_avoidance.c:1105:9-10: WARNING: return of 0/1 in function 'batadv_bla_process_claim' with return type bool

 Return statements in functions returning bool should use
 true/false instead of 1/0.
Generated by: scripts/coccinelle/misc/boolreturn.cocci

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/bridge_loop_avoidance.c