Searched hist:"03 aaa9e2" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/bridge/ |
H A D | br_private.h | 03aaa9e2 Thu Jan 18 17:37:45 CST 2018 Gustavo A. R. Silva <garsilva@embeddedor.com> bridge: return boolean instead of integer in br_multicast_is_router
Return statements in functions returning bool should use true/false instead of 1/0.
This issue was detected with the help of Coccinelle.
Fixes: 85b352693264 ("bridge: Fix build error when IGMP_SNOOPING is not enabled") Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Reviewed-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net> 03aaa9e2 Thu Jan 18 17:37:45 CST 2018 Gustavo A. R. Silva <garsilva@embeddedor.com> bridge: return boolean instead of integer in br_multicast_is_router Return statements in functions returning bool should use true/false instead of 1/0. This issue was detected with the help of Coccinelle. Fixes: 85b352693264 ("bridge: Fix build error when IGMP_SNOOPING is not enabled") Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Reviewed-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
|