Message ID | 20200505123757.39506-10-Jerome.Pouiller@silabs.com |
---|---|
State | New |
Headers | show
Return-Path: <SRS0=6qJ/=6T=vger.kernel.org=netdev-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.7 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MSGID_FROM_MTA_HEADER, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B65CC47258 for <netdev@archiver.kernel.org>; Tue, 5 May 2020 12:38:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0E4B120746 for <netdev@archiver.kernel.org>; Tue, 5 May 2020 12:38:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=silabs.onmicrosoft.com header.i=@silabs.onmicrosoft.com header.b="fzfFEynj" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729089AbgEEMii (ORCPT <rfc822;netdev@archiver.kernel.org>); Tue, 5 May 2020 08:38:38 -0400 Received: from mail-eopbgr770049.outbound.protection.outlook.com ([40.107.77.49]:46720 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728888AbgEEMie (ORCPT <rfc822;netdev@vger.kernel.org>); Tue, 5 May 2020 08:38:34 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Vag/VdEF52qDNjaYOQvXJNdwT6ZCkQ34DiPYpAx4YLVmOcOpOMWzngXwVmgQrNcadFfRdEH4/B+zVLKHcqs7IfARg10ZaJVEhVQyJyuSObE5RyHHfy4ore4dEbF4kheV8RwDSij1zJsjfNTkahg8hwR3RLG1kGZPEOrK6UK8gZMP5Qy4HQ3h7eGD3Nv+IpWg7qj2yZAsDQmpPxZjrj+67nIsJII9pR6zbqHARcraAqCUTnNPiN7OyopOsKwZBcqHlS6Y3PONyQkxrThxRjAVrpz1wfUhxqE/UpfDVL3dBh7yiLJzJhtM5WryvIwmbEBrpt9elxUzI3/+2bbD80AeKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BMsL47ngdy7orka6QlF3LRHzhyGyfTP7NGN5ukbZqqA=; b=SrPSfzIfrzAnb0Y/Uo2X4wbyV9WeR3FwaDLYVnu9ayF87jFHJO5b8MmrBPItxiueXgk5xVTT677W9UXo6sXKHrEEcvceH5E+8UbV9OJyXommSbhzz93eXLW276htn7BQZ39yqwti2Xa8AcKXhLb4dS5uN0n1jk68z1fDSXygbxyIqtIoSdBRL+qBcvkoE2LlBlcgZapTes3v95beVYz/7XMMF/vPdQe6Lu+Jae6SgqyRW+HGGFNObHix9f8wNUbbFNws0/i/HFcrkVPtSw5pm9QW7PSjT7YpDIiMCwn7Akj1V4DmhUBzlPHQdXA9Js4k8s2V+inFdCt+U0XPgADlLA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=silabs.com; dmarc=pass action=none header.from=silabs.com; dkim=pass header.d=silabs.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=silabs.onmicrosoft.com; s=selector2-silabs-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BMsL47ngdy7orka6QlF3LRHzhyGyfTP7NGN5ukbZqqA=; b=fzfFEynj8FUiO7rm8IzxSku4MaInp1AhOidKB5r2w50tld6w/sLKYg5I6g1a6Xu3opfAbnny/qG41VNNFIhSsa/tJgY+rO5i/D6MlHuP95EAXM6/fyxRhr5JHkL57DywMbgHEfRwqMKf/85zNajYEZZnheTqI2evch+HvL2sCw8= Authentication-Results: driverdev.osuosl.org; dkim=none (message not signed) header.d=none; driverdev.osuosl.org; dmarc=none action=none header.from=silabs.com; Received: from MWHPR11MB1775.namprd11.prod.outlook.com (2603:10b6:300:10e::14) by MWHPR11MB2046.namprd11.prod.outlook.com (2603:10b6:300:28::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.20; Tue, 5 May 2020 12:38:31 +0000 Received: from MWHPR11MB1775.namprd11.prod.outlook.com ([fe80::81d5:b62b:3770:ffbe]) by MWHPR11MB1775.namprd11.prod.outlook.com ([fe80::81d5:b62b:3770:ffbe%10]) with mapi id 15.20.2958.030; Tue, 5 May 2020 12:38:31 +0000 From: Jerome Pouiller <Jerome.Pouiller@silabs.com> To: devel@driverdev.osuosl.org, linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Kalle Valo <kvalo@codeaurora.org>, "David S . Miller" <davem@davemloft.net>, =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= <jerome.pouiller@silabs.com> Subject: [PATCH 09/15] staging: wfx: fix missing 'static' statement Date: Tue, 5 May 2020 14:37:51 +0200 Message-Id: <20200505123757.39506-10-Jerome.Pouiller@silabs.com> X-Mailer: git-send-email 2.26.1 In-Reply-To: <20200505123757.39506-1-Jerome.Pouiller@silabs.com> References: <20200505123757.39506-1-Jerome.Pouiller@silabs.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-ClientProxiedBy: PR3P189CA0022.EURP189.PROD.OUTLOOK.COM (2603:10a6:102:52::27) To MWHPR11MB1775.namprd11.prod.outlook.com (2603:10b6:300:10e::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from pc-42.home (2a01:e35:2435:66a0:1265:30ff:fefd:6e7f) by PR3P189CA0022.EURP189.PROD.OUTLOOK.COM (2603:10a6:102:52::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.20 via Frontend Transport; Tue, 5 May 2020 12:38:29 +0000 X-Mailer: git-send-email 2.26.1 X-Originating-IP: [2a01:e35:2435:66a0:1265:30ff:fefd:6e7f] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: abd1b201-ed64-47dd-4f9d-08d7f0f137bf X-MS-TrafficTypeDiagnostic: MWHPR11MB2046: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <MWHPR11MB2046763F9C1E5CB7366203ED93A70@MWHPR11MB2046.namprd11.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:568; X-Forefront-PRVS: 0394259C80 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WA8eBfzZDYoi314NS4naPuzd6Hfvt4znQwwPq0CcQ5XU2wTwkvFCuKi+VBBK3z2uWZ1YZPUkLAFTYAlr361YIwpWH+WeiTChIjEv1mFMhWcgevWaTqYsbwed9WToYY2y9D71C5rjuuiJDLwUi3+h1pSKhawf0b+NCvNBGYh6vyS7rnEwGg2BDE+72DRneklQhe2wmX0+TtKfNJwGooWiZ+19EcXRY9dn3OxX4jwJz0uaqMKV50hcBgsmdrxkcvsdMyeAIR6SSfP+RwyTW7/qu+nHoEdRSKgI3bHPjSGJCL+WoHIYL98JT/VPIpQKyvVCBS6liTWodfenn9gh2P0DEo6f7MyOZVnPROUtFH7HTRA6kYdnGIQCvqcBZg9D/uh5mvzwYNBCuZTGf9EC/ac2maWuXLL8YE0J4DYw5mFABcdIsAmt7HVEdgNBxLIXL3dtTP9IasS/U86J9iFxtDOzIVQiwv16Hb9bqFnnsgVs+SHKmmZ8eaPGCBXvxqeDoSn4ynh/qgTOnqbP0uymrFDdbw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR11MB1775.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(366004)(33430700001)(2906002)(36756003)(4744005)(52116002)(86362001)(5660300002)(6486002)(1076003)(8676002)(8936002)(6666004)(107886003)(2616005)(66476007)(66946007)(16526019)(186003)(66556008)(6512007)(8886007)(498600001)(4326008)(6506007)(33440700001)(54906003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: BWmbXO+dO/+c16ncaLEOx88qnYFaIEZGm/3GF7SAMn/g4bEGp+MjvuAbkBejL5FcxuxGQdgL8fgIfObOIpeMFLWnUvlseXTfAaBj0FvD+QVmzbc88VBe3pkkl7jI5TZQVcS6Uuan44cP3qEtqByFGSH6fK+rHJJepKBqbjZUD8gFaz+F3gbysEbOXl2hrhPH05l0wiHD9RIelevjl6u+FXBxgEfJFhyfaFIonWlwkdeFm5fkGr0u2iDdKjQdIEiXo/SjjndhXbvX8hTlrkuIBa8kvHUaifiJpXSrs54cipS+HYyEmn6zMn+TP31KxFT2p3gi9Fas3WzflSgxoyuZaaJ4wNk/T9WrwDOPnVmkm/gf1GBiEIPUULzQhW/y5g+1nAry8MkwMpXb055xCL6m8QrbQu8vQashKGYGk/W1gvorTDLmyH/BeX24Uy1Ern3QuVEUCrkL72VeKfgs1VQStpB++NTVLcT8wyGH8HgdRVuz1OprNo6uq1Va+sBZVnOpG7CjKFdcsXmKzE7b16a+E/N9Th/lga2ROWO7iwUk0rN2Ma3VeNNiR6Vddk3gCPNeVdH5Jl4m9NFxn4s6LrgLkTrj8Bdy7kLrIlpJ/CGWI+oubchvZPNSLowLmhLHPMzu5lxoQAK3Lan2S88osxUr/jbOjKsBgF17Q8vCf5QJR+nkw5DGh3bl7eUhW4jMafXskE9WIlUCBlww5mytvDDLuxJNt9gGZ7lVB8q23+X/+cX/YNw8sO6begb0fE3gw1bL+TziEFJqCb2Dn+e/+IxyOEWrPuoOvVH5EaWw8w7ebNEDO23sSrTOyft7ZNPFC2oVWc9V7XtLUMEsAd7QA0FekC/4Ok3JLwFT7MF42F8PFco= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: abd1b201-ed64-47dd-4f9d-08d7f0f137bf X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 May 2020 12:38:31.3441 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 54dbd822-5231-4b20-944d-6f4abcd541fb X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 7+MWnA8zhNnR19EO0jkqi+ENIko0QVRFfZSEKFRxEOJyv3T/dOYko92Qz2aXM2lTr7OoQDpdNLxWV0JIzFpClw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB2046 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: <netdev.vger.kernel.org> X-Mailing-List: netdev@vger.kernel.org |
Series |
[01/15] staging: wfx: add support for hardware revision 2 and further
|
expand
|
diff --git a/drivers/staging/wfx/fwio.c b/drivers/staging/wfx/fwio.c index e2f914296677..85b6a916a7d0 100644 --- a/drivers/staging/wfx/fwio.c +++ b/drivers/staging/wfx/fwio.c @@ -99,8 +99,8 @@ static int sram_write_dma_safe(struct wfx_dev *wdev, u32 addr, const u8 *buf, return ret; } -int get_firmware(struct wfx_dev *wdev, u32 keyset_chip, - const struct firmware **fw, int *file_offset) +static int get_firmware(struct wfx_dev *wdev, u32 keyset_chip, + const struct firmware **fw, int *file_offset) { int keyset_file; char filename[256];