Return-path: Received: from mail-yw0-f194.google.com ([209.85.161.194]:36684 "EHLO mail-yw0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751379AbcFXRqz (ORCPT ); Fri, 24 Jun 2016 13:46:55 -0400 MIME-Version: 1.0 In-Reply-To: <20160616135245.3198419-3-arnd@arndb.de> References: <20160616135020.3154461-1-arnd@arndb.de> <20160616135245.3198419-1-arnd@arndb.de> <20160616135245.3198419-3-arnd@arndb.de> From: Stanislav Yakovlev Date: Fri, 24 Jun 2016 21:46:54 +0400 Message-ID: (sfid-20160624_194719_055956_EC16511A) Subject: Re: [PATCH 3/8] wireless: ipw2200: fix old-style declaration To: Arnd Bergmann Cc: netdev@vger.kernel.org, Kalle Valo , "David S. Miller" , Johannes Berg , wireless , linux-kernel@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: On 16 June 2016 at 17:52, Arnd Bergmann wrote: > Modern C standards expect the 'inline' keyword to come before the return > type in a declaration, and we get a warning for this with "make W=1": > > drivers/net/wireless/intel/ipw2x00/ipw2200.c:4096:1: error: 'inline' is not at beginning of declaration [-Werror=old-style-declaration] > > Signed-off-by: Arnd Bergmann > --- > drivers/net/wireless/intel/ipw2x00/ipw2200.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Acked-by: Stanislav Yakovlev Stanislav.