Received: by 10.213.65.68 with SMTP id h4csp3446997imn; Tue, 3 Apr 2018 05:14:53 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+uw6b4QXRLRs69lUAa4gVJI5NeV8hQIlzF1wUiGJudZjeRXjG/XQKh+u6tabdpOhlPsKSC X-Received: by 10.99.97.20 with SMTP id v20mr9006977pgb.214.1522757693257; Tue, 03 Apr 2018 05:14:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522757693; cv=none; d=google.com; s=arc-20160816; b=FWm/2/SsOBblVytlFpybYswtbM0kBVPJdfMTth/CWCAxqxoEMGdVQFTjf/AyoTyc7H YoRU7m50BBXw/Nxv+vk8W+8mheuEjuoabDGPQBbXBluHZ8UHLoijh2eT96agKgbZQrue svgAb5lyZj/WLawh5+yIDNfQ14R/qLxTLGxssdSa6oifaCmO+IXw6aJ55sSfI8DK32vM oFvBqW6zdHrQ8alTdo/mawgun8S2fb64tlNeNQl6EI5+3I+EXs3ztXFLifXD8ZfoMQU7 +x5xB+5cIB0whZD/wFT3vmXJb3mvEZHvQgED9IDQ8XDf/ybdiovFa30XCcw/mggFtpCc bt7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=errA3v6s7zrF7jQ7AQ80fhckJH3ReieOOtUXBEe993k=; b=UZ+ZzQvxuWY0tf+KfYfoWIW2DFruHJCK9kXKd2Mv3Cw27uSP9k1OoO5pqXadvYLbs7 1I2yzQ6OwcxH4eKqrOEnCocu/CgJrshHJiW/YMnKW47RVhr8eq5KoII9agiPZyld/foW UY4a08fuYCjTeBTkO6JVveZ/cQBhmX2UKueEuyuoslo/tQCgZj3jPOOIVlwsqF5eLvO9 A906JcMmB9dN+u/vZTTLzShT1Te01ZAQ2hCOaeNmBEJOzvX1oJ/7RKPQtQs80Q6xdYnk 56wXRs4SdcdRuyvrSoUdzEfkDeT8DRTHzdB1xItzi6ppNaxlk8pbalK2BxLN1LrME5zM gXGQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b8-v6si367377plm.590.2018.04.03.05.14.39; Tue, 03 Apr 2018 05:14:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755462AbeDCMNM (ORCPT + 99 others); Tue, 3 Apr 2018 08:13:12 -0400 Received: from mga07.intel.com ([134.134.136.100]:55110 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755300AbeDCMNK (ORCPT ); Tue, 3 Apr 2018 08:13:10 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga105.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 Cc: kbuild-all@01.org, robh+dt@kernel.org, mark.rutland@arm.com, marcel@holtmann.org, johan.hedberg@gmail.com, devicetree@vger.kernel.org, linux-bluetooth@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, Sean Wang Subject: [RFC PATCH] Bluetooth: hci_mediatek: mtk_recv_frame() can be static Message-ID: <20180403121303.GA72575@lkp-sb04> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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);