From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: [PATCH net] net/ipv4: avoid compile error in fib_info_nh_uses_dev Date: Fri, 21 Sep 2018 11:01:39 -0700 Message-ID: <9ac74d34-d730-5d82-3007-8aaa9e6ca935@gmail.com> References: <20180921175807.85168-1-edumazet@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: netdev , Eric Dumazet , David Ahern To: Eric Dumazet , "David S . Miller" Return-path: Received: from mail-pf1-f194.google.com ([209.85.210.194]:34336 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732114AbeIUXvl (ORCPT ); Fri, 21 Sep 2018 19:51:41 -0400 Received: by mail-pf1-f194.google.com with SMTP id k19-v6so6319905pfi.1 for ; Fri, 21 Sep 2018 11:01:41 -0700 (PDT) In-Reply-To: <20180921175807.85168-1-edumazet@google.com> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 09/21/2018 10:58 AM, Eric Dumazet wrote: > net/ipv4/fib_frontend.c: In function 'fib_info_nh_uses_dev': > net/ipv4/fib_frontend.c:322:6: error: unused variable 'ret' [-Werror=unused-variable] > cc1: all warnings being treated as errors > > Fixes: 78f2756c5fc0 ("net/ipv4: Move device validation to helper") > Signed-off-by: Eric Dumazet > Cc: David Ahern > This targets net-next tree, sorry for the wrong tag in title.