Messages in this thread | | | Date | Fri, 25 Feb 2022 08:32:34 -0700 | Subject | Re: [PATCH net-next v2] net/ip6mr: Fix build with !CONFIG_IPV6_PIMSM_V2 | From | David Ahern <> |
| |
On 2/25/22 7:52 AM, Dmitry Safonov wrote: > The following build-error on my config: > net/ipv6/ip6mr.c: In function ‘ip6_mroute_setsockopt’: > net/ipv6/ip6mr.c:1656:14: error: unused variable ‘do_wrmifwhole’ [-Werror=unused-variable] > 1656 | bool do_wrmifwhole; > | ^ > > Cc: Mobashshera Rasool <mobash.rasool.linux@gmail.com> > Cc: David S. Miller <davem@davemloft.net> > Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org> > Cc: David Ahern <dsahern@kernel.org> > Cc: Jakub Kicinski <kuba@kernel.org> > Cc: netdev@vger.kernel.org > Fixes: 4b340a5a726d > Signed-off-by: Dmitry Safonov <dima@arista.com> > --- > v2: move the (v == MRT6MSG_WRMIFWHOLE) check under if (v != mrt->mroute_do_pim) > > net/ipv6/ip6mr.c | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-) >
Reviewed-by: David Ahern <dsahern@kernel.org>
| |