Stephen Hemminger
2018-Jan-19 00:22 UTC
[Bridge] [PATCH] bridge: return boolean instead of integer in br_multicast_is_router
On Thu, 18 Jan 2018 17:37:45 -0600 "Gustavo A. R. Silva" <garsilva at embeddedor.com> wrote:> Return statements in functions returning bool should use > true/false instead of 1/0. > > This issue was detected with the help of Coccinelle. > > Signed-off-by: Gustavo A. R. Silva <garsilva at embeddedor.com>LGTM Fixes: 85b352693264 ("bridge: Fix build error when IGMP_SNOOPING is not enabled") Reviewed-by: Stephen Hemminger <stephen at networkplumber.org>