From patchwork Tue Jun 12 14:50:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengguang Wu X-Patchwork-Id: 10460565 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 32DA1602A0 for ; Tue, 12 Jun 2018 14:51:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 16E3128957 for ; Tue, 12 Jun 2018 14:51:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 11BD0289C4; Tue, 12 Jun 2018 14:51:26 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D112028965 for ; Tue, 12 Jun 2018 14:51:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2EOwJMBapgvRNptmG0WuL9O0mDM8ND0gUTVxu5GG0/4=; b=SQYLh2io7JDSzF f4W70OO84170Wkjrvj0jDnWnlbcnqQpfyj7cT8oa97VLqjCwG92txoFO09Al3kzrZ1a5WdfwHwMrF 4V/oU7yiG5vXcqNLDmlTaCoANONRQx6w068DR8FuhqLT0aSWpg+CAMxkAjM+Kj4o87I4j2LfnRYa8 EtOmXHDUHMOTifscJZoG0VqwGX1X+LsSOqvzBLPiSL7TzjF6z9FweYuhfr6MJHQbdAt7DNH7FGAoC EtnOZ/Ozrp6j4bEMLoujEEh0kMtKIFFjZX2PxYlpQyzoN9iMFXDS04vbmKl7BAnb8/Knt9xXs2cQP 0iIrVOGEOkQ0DXb6wYDQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fSkdY-0002YY-0S; Tue, 12 Jun 2018 14:51:08 +0000 Received: from mga18.intel.com ([134.134.136.126]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fSkdL-0002TH-Tz for ath10k@lists.infradead.org; Tue, 12 Jun 2018 14:50:58 +0000 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Jun 2018 07:50:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,215,1526367600"; d="scan'208";a="63434973" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga001.fm.intel.com with ESMTP; 12 Jun 2018 07:50:42 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1fSkd4-000WXt-A6; Tue, 12 Jun 2018 22:50:38 +0800 Date: Tue, 12 Jun 2018 22:50:37 +0800 From: kbuild test robot To: Niklas Cassel Subject: [RFC PATCH] ath10k: ath10k_snoc_get_ce_id_from_irq() can be static Message-ID: <20180612145037.GA95182@lkp-ib03> References: <20180612113907.15043-2-niklas.cassel@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20180612113907.15043-2-niklas.cassel@linaro.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: lkp@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180612_075056_026963_52E14011 X-CRM114-Status: GOOD ( 19.06 ) X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: netdev@vger.kernel.org, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, ath10k@lists.infradead.org, kbuild-all@01.org, Niklas Cassel , "David S. Miller" , Kalle Valo Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Fixes: aecf55e7df3a ("ath10k: allow ATH10K_SNOC with COMPILE_TEST") Signed-off-by: kbuild test robot --- snoc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/snoc.c b/drivers/net/wireless/ath/ath10k/snoc.c index a3a7042..92ddb1c 100644 --- a/drivers/net/wireless/ath/ath10k/snoc.c +++ b/drivers/net/wireless/ath/ath10k/snoc.c @@ -820,7 +820,7 @@ static const struct ath10k_bus_ops ath10k_snoc_bus_ops = { .write32 = ath10k_snoc_write32, }; -int ath10k_snoc_get_ce_id_from_irq(struct ath10k *ar, int irq) +static int ath10k_snoc_get_ce_id_from_irq(struct ath10k *ar, int irq) { struct ath10k_snoc *ar_snoc = ath10k_snoc_priv(ar); int i; @@ -868,7 +868,7 @@ static int ath10k_snoc_napi_poll(struct napi_struct *ctx, int budget) return done; } -void ath10k_snoc_init_napi(struct ath10k *ar) +static void ath10k_snoc_init_napi(struct ath10k *ar) { netif_napi_add(&ar->napi_dev, &ar->napi, ath10k_snoc_napi_poll, ATH10K_NAPI_BUDGET);