From patchwork Mon Mar 22 21:51:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 406180 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp3916940jai; Mon, 22 Mar 2021 14:52:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwca53mhBEmxWDC1WOIXTxGp2a94iiI5VqHTayPFyZCe7wpVJPPhBpS0T42LhyV4CvnmiDI X-Received: by 2002:a17:906:154f:: with SMTP id c15mr1852681ejd.142.1616449930912; Mon, 22 Mar 2021 14:52:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616449930; cv=none; d=google.com; s=arc-20160816; b=EJRefrU4LNa9xw1sAnkC1rB/Y5WvrMuUrFoPg/gpQ+t0/SPycYssdINdyYAK7xenQP oHjSFBIqBugMqKerNcRww2CAWFEzxRm+zCu/sP5IDRgN6RVmcnwXwkuGXw7KUR98Ozgv Fc72umzZ8c2NQ7EA4NHG7VCmnJaBUAJw8CQmpRTcfe9fvVKMsgS5pEZ2RgPrlHG399vU +nxu87bZ38RgGHT6IRoAU3+uWB3m2BL8+9oYizUjPFYSEVkTob1+jwt4WMVIN5hFENx0 Qa06yLGikI2F+OR5SvltoD1VE3yfCVGC0OmD+zEhPl4qkSt0LCfverAsPX7l+u293VTK BQ5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Qktu+4Oo1igYmpY+/aeAnh1m7Cyqnd1AeacO8Tgpcd4=; b=RbeZKspr6/FPQcXqtFZnLplmu1bs3Vu19kCG/F6eOO7ECtlYFMgyBbe2xdND8aJ29M V8t8gqdVaLoPhGCIjwoh4Dp6AdtHR8//1e2yGiKNJxlLXT8lUCEH+a5EioFm9syO9Xa6 PwVEyxcka6D2pRVUWap97ckCt0jlqxx7iYDpx4DhLnP902dLoj/1IsCxaVUSKCeZIM1E 8nsuKgBtgh880yLnhxbovNSMLwpmBFcuhcQJkOneMq5zHWxY0Va4DvCBVkGTMgs3OGcP Obm6aFJ3tvZiW2ppBOTBN1kM0fQl/vx5CafEbcQ6CjcefSr8qsUUKsJucQPO2Q9n4TpR 4yFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NFCk5psz; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c11si14902498ejz.595.2021.03.22.14.52.10; Mon, 22 Mar 2021 14:52:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NFCk5psz; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229913AbhCVVvm (ORCPT + 2 others); Mon, 22 Mar 2021 17:51:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:41710 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229467AbhCVVv3 (ORCPT ); Mon, 22 Mar 2021 17:51:29 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D95426191D; Mon, 22 Mar 2021 21:51:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1616449888; bh=vplW57jdS3sdwY5BYxTl7rROU7sS/6x0YoCPBkEaF7s=; h=From:To:Cc:Subject:Date:From; b=NFCk5pszFaz6NRayADSr2fVS3LN+m6B5SW1UewBb2lqJngOvQ8go3ziYYlwSZ6/hW wfcDgBrl64BQuCRy3cWqPldHbMqmanTm9YQeKuk0d/SAqB3E+Q2EbHtJ+Gitm6J44v LeZRod5vnYzD4XMzDtVYeseG7IBxTOQOqq+xPRP1X/FtjaSpqSz+Mur+YFaWzQOlj4 eIps+pvMmz27xTm/XuIf6ODQI3kj0swcbV5jEh8xCBde/cVIdhNmuYJrMZmN8I2eMZ 1EnMYr0YWxEqT4eIzwd/4Eg1KmIKpczFSC7WDERFdR0bpfdlN76GSGt0p3qaMr3TbD RipEFz6+4ptQA== From: Arnd Bergmann To: netdev@vger.kernel.org, Luca Coelho , Kalle Valo , "David S. Miller" , Jakub Kicinski , Gregory Greenman Cc: Arnd Bergmann , linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next] iwlwifi: fix old-style-declaration warning Date: Mon, 22 Mar 2021 22:51:16 +0100 Message-Id: <20210322215124.1078478-1-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Arnd Bergmann The correct order is 'static const', not 'const static', as seen from make W=1: drivers/net/wireless/intel/iwlwifi/mvm/rfi.c:14:1: error: 'static' is not at beginning of declaration [-Werror=old-style-declaration] Fixes: 21254908cbe9 ("iwlwifi: mvm: add RFI-M support") Signed-off-by: Arnd Bergmann --- drivers/net/wireless/intel/iwlwifi/mvm/rfi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.29.2 diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/rfi.c b/drivers/net/wireless/intel/iwlwifi/mvm/rfi.c index 873919048143..4d5a99cbcc9d 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/rfi.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/rfi.c @@ -11,7 +11,7 @@ * DDR needs frequency in units of 16.666MHz, so provide FW with the * frequency values in the adjusted format. */ -const static struct iwl_rfi_lut_entry iwl_rfi_table[IWL_RFI_LUT_SIZE] = { +static const struct iwl_rfi_lut_entry iwl_rfi_table[IWL_RFI_LUT_SIZE] = { /* LPDDR4 */ /* frequency 3733MHz */