From patchwork Tue Apr 3 12:13:03 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: 10320993 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 0372B60318 for ; Tue, 3 Apr 2018 12:15:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E6B10288F1 for ; Tue, 3 Apr 2018 12:15:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DAF972896F; Tue, 3 Apr 2018 12:15:07 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID 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 47787288F1 for ; Tue, 3 Apr 2018 12:15:06 +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=9OuSFiwrA2M6AP35lL8WQ9GInecYKDyDGJJRLdjAMuA=; b=Xl474INwfCvET9 SjvAusNO6O0bprM/EaiMfc7YCPIX7ZtNe+YM9QKkFhKyg/nN7LFqhVfXAb4y5Ekujxhx3nWpZLmpX tkLJayYrk2+nMehZth3KzUPtIlsd9itFdNC3E29AGoZ7p0TPfbNexAIdSMpnlzMtLX1HFY2t6sH27 4SCxF1AXDuCj67MDiJrJ4MTv3NafRw75o30jxd1/rwSqjOZ3N4zpu9m3TT7+Mfei4jWARWBXmvWMO t0mDjpTamIPw5DLZ4ix/HKTY2K+GSlihZHSGhh4NRTR6SWtmatPVUpzkfl/LZkOxCMzc5208pKOiG Yg/MBA0Kbs1C7AR0amLg==; 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 1f3Kq2-0003lL-Aq; Tue, 03 Apr 2018 12:14:58 +0000 Received: from mga02.intel.com ([134.134.136.20]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f3KoV-0002hd-RQ; Tue, 03 Apr 2018 12:13:25 +0000 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Apr 2018 05:13:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,400,1517904000"; d="scan'208";a="43003623" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga004.fm.intel.com with ESMTP; 03 Apr 2018 05:13:07 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1f3KoF-000Coc-6H; Tue, 03 Apr 2018 20:13:07 +0800 Date: Tue, 3 Apr 2018 20:13:03 +0800 From: kbuild test robot To: sean.wang@mediatek.com Subject: [RFC PATCH] Bluetooth: hci_mediatek: mtk_recv_frame() can be static Message-ID: <20180403121303.GA72575@lkp-sb04> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180403_051323_955100_CCA55073 X-CRM114-Status: GOOD ( 22.37 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, johan.hedberg@gmail.com, marcel@holtmann.org, Sean Wang , linux-kernel@vger.kernel.org, linux-bluetooth@vger.kernel.org, robh+dt@kernel.org, linux-mediatek@lists.infradead.org, kbuild-all@01.org, linux-arm-kernel@lists.infradead.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Fixes: 9f2aacacb185 ("Bluetooth: hci_mediatek: Add protocol support for MediaTek serial devices") Signed-off-by: Fengguang Wu --- hci_mediatek.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bluetooth/hci_mediatek.c b/drivers/bluetooth/hci_mediatek.c index 7ac1e7aa..ab02b8b 100644 --- a/drivers/bluetooth/hci_mediatek.c +++ b/drivers/bluetooth/hci_mediatek.c @@ -319,7 +319,7 @@ static int mtk_close(struct hci_uart *hu) return 0; } -int mtk_recv_frame(struct hci_dev *hdev, struct sk_buff *skb) +static int mtk_recv_frame(struct hci_dev *hdev, struct sk_buff *skb) { struct hci_event_hdr *hdr = (void *)skb->data; struct hci_uart *hu = hci_get_drvdata(hdev);