From: kbuild test robot Subject: [RFC PATCH] usb: dwc2: host: dwc2_check_qtd_still_ok() can be static Date: Thu, 15 Oct 2015 04:44:43 +0800 Message-ID: <20151014204443.GA144226@lkp-ib03> References: <201510150401.c19CKrBd%fengguang.wu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1444848406-16451-1-git-send-email-dianders-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+glpar-linux-rockchip=m.gmane.org-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org Cc: gregory.herrero-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org, Heiko =?iso-8859-1?Q?St=FCbner?= , johnyoun-HKixBCOQz3hWk0Htik3J/w@public.gmane.org, gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org, linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Douglas Anderson , balbi-l0cyMroinI0@public.gmane.org, John Youn , linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, yousaf.kaukab-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org, Yunzhi Li , Julius Werner , dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, kbuild-all-JC7UmRfGjtg@public.gmane.org List-Id: linux-rockchip.vger.kernel.org Signed-off-by: Fengguang Wu --- hcd_intr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/dwc2/hcd_intr.c b/drivers/usb/dwc2/hcd_intr.c index 57e71f9d..b31a1fb 100644 --- a/drivers/usb/dwc2/hcd_intr.c +++ b/drivers/usb/dwc2/hcd_intr.c @@ -1956,7 +1956,7 @@ static void dwc2_hc_chhltd_intr(struct dwc2_hsotg *hsotg, * the qtd from the top of the list, this will return NULL. Otherwise * it will be passed back qtd. */ -struct dwc2_qtd *dwc2_check_qtd_still_ok(struct dwc2_qtd *qtd, +static struct dwc2_qtd *dwc2_check_qtd_still_ok(struct dwc2_qtd *qtd, struct list_head *qtd_list) { struct dwc2_qtd *cur_head;