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: 10320991 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 7DFC260116 for ; Tue, 3 Apr 2018 12:14:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6AC9428908 for ; Tue, 3 Apr 2018 12:14:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5E2D128A7D; Tue, 3 Apr 2018 12:14:24 +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 E015128908 for ; Tue, 3 Apr 2018 12:14:23 +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=lv1eZLMHPTbvfk9V0NxKYJ/ta1rqJVqG6CUvgYiXSI8=; b=Eg5sABdlb9dINl oalGAQ/VDnTBBPUuYyYJwDkNgRw2hzWUp55F5tVMMlDjyl9nTNGy+3OpoyifQQkKekDNwCp0/baux SrCt+tWCogK6WJ3PiYXx7p1xopzNbTtpsS5QPzNMx41OI1lxYyJyn8cdxSvIO4BfTa1gpFle2UPJL RGGpXLhLoBCCXbg5cZx7zMnX5xjXujjH2ahJvP8OMr2n0KZnLZDtvaUxsdPZAr7FHotsbM/xn6Rki BhoIjIsUwTDCwENZGlU6D2ftxpvlouRKmI2GIF8p78zG9BexOy+2Vd39kRiwfvr2xHLpcdOElUfyN WDuy2zEIfUzEBgN1NzlQ==; 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 1f3KpK-0003MK-It; Tue, 03 Apr 2018 12:14:14 +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-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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);