Message ID | 20210526130037.856068-20-lee.jones@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5199264jac; Wed, 26 May 2021 06:01:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyaDJVBUAYlYbI6bATPDIu7k+30c8dspGgImnUkNW9/I7l1spPZq1msgsQIgu9Q6v7hlizy X-Received: by 2002:a17:906:4088:: with SMTP id u8mr32973754ejj.240.1622034101774; Wed, 26 May 2021 06:01:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622034101; cv=none; d=google.com; s=arc-20160816; b=C210A9KU/BZEi37eBGvh3xH6QYTOU3xEmY28OcOWKQ5U1qpJK0CjtumRgH1SFFhZFF q35KMjMAm8NfAaV6K5Ejzs4JIaRX8c5l+wFo6nsF/GOX7+fRlyw6BwWMAw/K4wLkKE9r N5RvsgWd8COatlK8Qc6W/sezYb66zEtzs672siPt394zksDzFGqsQkRv3rOy3B298JmY 9lOOETuN5p63zfUzPxZp/a1b+80lWdfqCZrXitTRj9wtaEvYmUSLVTKHLB6IyRkVdgsv bC4WdEqXhJYuw5Puuva3Z9g3xuJcwyQQwRCnUQ2L9i8i0d06Gzkbbdroqm2Zd2Fn9ZrJ R8VQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=SstsYYHlOJNFxJcFIIyoQziYm6AwfAPQpEUk2TCe0GU=; b=m9uRGGn4SyJ70hyc2RlXeNh3Qz9l0Nrupn8MpvlN6Uc/pWbhZP072oNC7XP54vDBK9 ZKTAhHhHKHFBzYblbQ4Y1wkNmVLQ1vVQ8aMhmQFmWmHCCLMGY/xruyQtunaZ4vuYR4wo q7fFARErM52tJdKFS6NXqB96sYKCD9ZqwF+uuDAG583QOmisFzn5q+rv5LMuUcJFUM3d 7ie4S54dZalyqhc6iS7q5G6dm2DrRmS+1Bge6nc9fH23VSf0cYevzKK4on9zsbYd0spV ez74S1Fx/1Gw4CTbHuz3McYcKRo89Tip/HBh4V9XxVA8jZUF6TKMSrrD+azQh67TRMeM aqGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QF82RN24; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-usb-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m9si20452093ejj.467.2021.05.26.06.01.41; Wed, 26 May 2021 06:01:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QF82RN24; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235131AbhEZNDJ (ORCPT <rfc822;naresh.kamboju@linaro.org> + 4 others); Wed, 26 May 2021 09:03:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235000AbhEZNCn (ORCPT <rfc822; linux-usb@vger.kernel.org>); Wed, 26 May 2021 09:02:43 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7251CC061352 for <linux-usb@vger.kernel.org>; Wed, 26 May 2021 06:01:07 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id p7so1021925wru.10 for <linux-usb@vger.kernel.org>; Wed, 26 May 2021 06:01:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=SstsYYHlOJNFxJcFIIyoQziYm6AwfAPQpEUk2TCe0GU=; b=QF82RN242X5HtKAatNgT/qgGfUpO25QtmvdltzP3FsDkyUtjq2GV86LhSpzIPW2y4N Z9QP2HWF0uXip3AGH/WZfptwQAE/f1DSS7cs9jtV5xYofb9wXy/8iF9RfgFjIjxE8k8p Ug9kZLmO6QzFwFVh+50D7spVdYi9omwh0HympLkeNf2LU1Qf1dy3+TzL9GDfXESuYGGj UFAYZcQCZwVNNiSPHHY2b25aqxwk8RQQBVYxDnSCP0bFGumy9RfTPdAanPp/rEm/pn6d zo3DOTHllQEq94N40s3KVmw+WnOq2dbEL7Itx3OZbxrJ/4NV0PNQ4j3wnPGmsb5mg0xA gZiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=SstsYYHlOJNFxJcFIIyoQziYm6AwfAPQpEUk2TCe0GU=; b=eOSpU/9DPg42kxIwkUPp1r3qkSms+TLFvTogz3cOXE+aNwnfObXfUgtpEg4DfFrM9v 5ZOhnlJ8B1pGP2mcTwLq5ZaNAIvzxf1bM6351fbFrbFCBYRzEqMmBDn8OvOkKOhNwfkF ywjqWO9f1FJR8VxVm7MRHtXX6neU5TA8OysFHpvOZ9fzdkDt5Xs/T+hj9mNb5mjb/MnB 5G0j1Zs8FQOC/eBXzVQt1cenGb1/DZ6li6cDS1AuXmNYFwEL7Jv4VlAewNLWLIftvs94 Jtzhd4VtTLXjL1x5zwQ5oa1wl1lB87gohIE8E68vtge9T1lUklGq0XvCW/lN8nwgL1Ta zFSg== X-Gm-Message-State: AOAM532aKOMjReyPwi4CkhpZTyc21kVerq0njPESMtR241CKfGhHCbir MgcYYbOrxx8OtE8aVLGmMQg6hQ== X-Received: by 2002:a5d:4b08:: with SMTP id v8mr33135582wrq.122.1622034066371; Wed, 26 May 2021 06:01:06 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id y14sm6430036wmj.37.2021.05.26.06.01.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 06:01:05 -0700 (PDT) From: Lee Jones <lee.jones@linaro.org> To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Felipe Balbi <balbi@kernel.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Michal Simek <michal.simek@xilinx.com>, linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 19/24] usb: gadget: udc: udc-xilinx: Place correct function names into the headers Date: Wed, 26 May 2021 14:00:32 +0100 Message-Id: <20210526130037.856068-20-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526130037.856068-1-lee.jones@linaro.org> References: <20210526130037.856068-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-usb.vger.kernel.org> X-Mailing-List: linux-usb@vger.kernel.org |
Series |
Rid W=1 warnings from USB
|
expand
|
diff --git a/drivers/usb/gadget/udc/udc-xilinx.c b/drivers/usb/gadget/udc/udc-xilinx.c index 72f2ea062d554..fb4ffedd6f0dd 100644 --- a/drivers/usb/gadget/udc/udc-xilinx.c +++ b/drivers/usb/gadget/udc/udc-xilinx.c @@ -791,7 +791,7 @@ static int xudc_ep_set_halt(struct usb_ep *_ep, int value) } /** - * xudc_ep_enable - Enables the given endpoint. + * __xudc_ep_enable - Enables the given endpoint. * @ep: pointer to the xusb endpoint structure. * @desc: pointer to usb endpoint descriptor. * @@ -987,7 +987,7 @@ static void xudc_free_request(struct usb_ep *_ep, struct usb_request *_req) } /** - * xudc_ep0_queue - Adds the request to endpoint 0 queue. + * __xudc_ep0_queue - Adds the request to endpoint 0 queue. * @ep0: pointer to the xusb endpoint 0 structure. * @req: pointer to the xusb request structure. *
Fixes the following W=1 kernel build warning(s): drivers/usb/gadget/udc/udc-xilinx.c:802: warning: expecting prototype for xudc_ep_enable(). Prototype was for __xudc_ep_enable() instead drivers/usb/gadget/udc/udc-xilinx.c:997: warning: expecting prototype for xudc_ep0_queue(). Prototype was for __xudc_ep0_queue() instead Cc: Felipe Balbi <balbi@kernel.org> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Michal Simek <michal.simek@xilinx.com> Cc: linux-usb@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/usb/gadget/udc/udc-xilinx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.31.1