From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751262AbdASI1T (ORCPT ); Thu, 19 Jan 2017 03:27:19 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:34751 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750826AbdASI1R (ORCPT ); Thu, 19 Jan 2017 03:27:17 -0500 Subject: Re: linux-next: build warning after merge of the net tree To: Stephen Rothwell , David Miller , Networking References: <20170119095600.6d7a84d7@canb.auug.org.au> Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Eran Ben Elisha , Tariq Toukan From: Tariq Toukan Message-ID: <2de655ca-5bc5-2f87-4268-dfdf77141cb0@gmail.com> Date: Thu, 19 Jan 2017 10:26:35 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <20170119095600.6d7a84d7@canb.auug.org.au> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Stephen, On 19/01/2017 12:56 AM, Stephen Rothwell wrote: > Hi all, > > After merging the net tree, today's linux-next build (x86_64 allmodconfig) > produced this warning: > > drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c: In function 'mlx5e_set_channels': > drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c:546:6: warning: unused variable 'ncv' [-Wunused-variable] > int ncv = mlx5e_get_max_num_channels(priv->mdev); > ^ > > Introduced by commit > > 639e9e94160e ("net/mlx5e: Remove unnecessary checks when setting num channels") > > which removed the last reference to 'ncv'. > We will send a fix shortly. Thanks for your report! Regards, Tariq