From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Sven Eckelmann Date: Wed, 06 Jul 2016 09:26:15 +0200 Message-ID: <3018169.ulU2hFjq7O@bentobox> In-Reply-To: <1937144.keiqMBNOt5@sven-edge> References: <201607061025.fb3YfL1g%fengguang.wu@intel.com> <20160706024929.GA25250@lkp-nex05> <1937144.keiqMBNOt5@sven-edge> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1776920.AkGytVK0e5"; micalg="pgp-sha512"; protocol="application/pgp-signature" Subject: Re: [B.A.T.M.A.N.] [PATCH] batman-adv: fix boolreturn.cocci warnings List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: b.a.t.m.a.n@lists.open-mesh.org Cc: kbuild test robot , Antonio Quartulli , kbuild-all@01.org, Marek Lindner --nextPart1776920.AkGytVK0e5 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Wednesday 06 July 2016 08:12:09 Sven Eckelmann wrote: > On Wednesday 06 July 2016 10:49:29 kbuild test robot wrote: > > 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 > > > > CC: Sven Eckelmann > > Signed-off-by: Fengguang Wu > > --- > > Reviewed-by: Sven Eckelmann > > The problematic commit is in batman-adv.git (next): > > Fixes: a998bf5dfbd7 ("batman-adv: add detection for complex bridge loops") Sorry, I meant maint and not next. It was already part of v2016.2 @Marek not sure where you want to apply it. It should have no effect on the actual functionality. Kind regards, Sven --nextPart1776920.AkGytVK0e5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCgAGBQJXfLKXAAoJEF2HCgfBJntGFGEP+gK76obflfQxFuucHwSeDl9r 8eodbnLHcVX0BUm+5gWSls7CTNuKvCRwC9X7YiAktuVlcmHkBCXpeiCEA/Lj/nhV f7QGsT7eZyxeYrxptbxwQBxtFhmi1jNKySmy5pMeqw3hH1onWo5QOcJ3a3oAiJD+ L3an5vLSwSDw2betyN/sT4QORnc3QxwYRCGBGpmS9jVvhCSG/qavZpF+HhPtp9xB xm1ON+01VDhO7wwi1wGEKPejaGcgrwsryZnTra2i2bP58XoXPYRKvz/7sjk5uMDI Zg9WnhQjr2nNKVStlPJkPH0ZzAxhXejYK7Cyt6f8jmgNj9R2F4PkIr3uySBW6EL/ 5bLF+xdbyX7kgLlOeBHIpin8Z9G3aYPZbEBS6ycoApPDiveDVKnhU4NpvCy0pg8V JkFct8QUMLZx2GwdCxnJuRjXqgzpj7aWXxRqVmfhjbLuN3/upCUtkFsmVGTU8GF6 cj75uw+IqojUrOsOPVJMHMTtNDM/J/SFz5iWG58og3VgifLQyV9GzS+/T3sOIbWE VWhSUL60ZQMNBO5xIkYyaQPJGZn3XdR7tcff9ygPrw308m2P7kE3enzZUUni1sMY Jf947ek36vR0FWlE0qdbQQZkKcDwiV+hQh+A8JvhMt1d9rmESwCddsxJbjJacXFX 37J9JMM5FHJKNdpMmcwg =NwkR -----END PGP SIGNATURE----- --nextPart1776920.AkGytVK0e5--