From patchwork Sun Mar 18 02:56:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 10291029 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5480860386 for ; Sun, 18 Mar 2018 02:56:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2C36728F2C for ; Sun, 18 Mar 2018 02:56:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1FA5028F33; Sun, 18 Mar 2018 02:56:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A8C7C28F2C for ; Sun, 18 Mar 2018 02:56:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752721AbeCRC40 (ORCPT ); Sat, 17 Mar 2018 22:56:26 -0400 Received: from mga06.intel.com ([134.134.136.31]:10869 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752379AbeCRC4Z (ORCPT ); Sat, 17 Mar 2018 22:56:25 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Mar 2018 19:56:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,323,1517904000"; d="scan'208";a="35925359" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga003.jf.intel.com with ESMTP; 17 Mar 2018 19:56:24 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1exOTc-000Cc1-NK; Sun, 18 Mar 2018 10:55:16 +0800 Date: Sun, 18 Mar 2018 10:56:08 +0800 From: kbuild test robot To: Arend van Spriel Cc: kbuild-all@01.org, Kalle Valo , linux-wireless@vger.kernel.org, Arend van Spriel Subject: [RFC PATCH] brcmfmac: brcmf_fw_request_is_valid() can be static Message-ID: <20180318025608.GA27678@intel11> References: <1521195085-439-8-git-send-email-arend.vanspriel@broadcom.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1521195085-439-8-git-send-email-arend.vanspriel@broadcom.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fixes: 212cd4371451 ("brcmfmac: pass struct in brcmf_fw_get_firmwares()") Signed-off-by: Fengguang Wu --- firmware.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c index b5f9430..95004db 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c @@ -588,7 +588,7 @@ static void brcmf_fw_request_done(const struct firmware *fw, void *ctx) kfree(fwctx); } -bool brcmf_fw_request_is_valid(struct brcmf_fw_request *req) +static bool brcmf_fw_request_is_valid(struct brcmf_fw_request *req) { struct brcmf_fw_item *item; int i;