From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751279AbdE2Pan (ORCPT ); Mon, 29 May 2017 11:30:43 -0400 Received: from vps0.lunn.ch ([178.209.37.122]:53638 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751039AbdE2Pam (ORCPT ); Mon, 29 May 2017 11:30:42 -0400 Date: Mon, 29 May 2017 17:30:30 +0200 From: Andrew Lunn To: Arnd Bergmann Cc: Vivien Didelot , Florian Fainelli , "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: dsa: mv88e6xxx: Add missing static to stub functions Message-ID: <20170529153030.GB21315@lunn.ch> References: <20170529125612.110244-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170529125612.110244-1-arnd@arndb.de> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 29, 2017 at 02:56:01PM +0200, Arnd Bergmann wrote: > 'static' was not enough, the helpers must be 'static inline' > > net/dsa/mv88e6xxx/global2.h:123:12: error: 'mv88e6xxx_g2_misc_4_bit_port' defined but not used [-Werror=unused-function] > net/dsa/mv88e6xxx/global2.h:117:12: error: 'mv88e6xxx_g2_pvt_write' defined but not used [-Werror=unused-function] > > Fixes: c21fbe29f858 ("net: dsa: mv88e6xxx: Add missing static to stub functions") > Signed-off-by: Arnd Bergmann Hi Arnd Dave merged my fix yesterday. Andrew