Discussion:
[PATCH] bridge: return boolean instead of integer in br_multicast_is_router
(too old to reply)
Stephen Hemminger
2018-01-19 00:22:50 UTC
Permalink
On Thu, 18 Jan 2018 17:37:45 -0600
Return statements in functions returning bool should use
true/false instead of 1/0.
This issue was detected with the help of Coccinelle.
LGTM

Fixes: 85b352693264 ("bridge: Fix build error when IGMP_SNOOPING is not enabled")
Reviewed-by: Stephen Hemminger <***@networkplumber.org>
David Miller
2018-01-22 21:13:35 UTC
Permalink
From: "Gustavo A. R. Silva" <***@embeddedor.com>
Date: Thu, 18 Jan 2018 17:37:45 -0600
Return statements in functions returning bool should use
true/false instead of 1/0.
This issue was detected with the help of Coccinelle.
Applied to net-next.

Continue reading on narkive:
Loading...