All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [RFC PATCH] usb: gadget: f_uac1: ac_int_ep_desc_comp can be static
Date: Tue, 15 Feb 2022 02:00:59 +0800	[thread overview]
Message-ID: <20220214180059.GA24958@856db070be37> (raw)
In-Reply-To: <20220214074352.3447-1-3090101217@zju.edu.cn>

[-- Attachment #1: Type: text/plain, Size: 887 bytes --]

drivers/usb/gadget/function/f_uac1.c:144:34: warning: symbol 'ac_int_ep_desc_comp' was not declared. Should it be static?

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---
 drivers/usb/gadget/function/f_uac1.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/gadget/function/f_uac1.c b/drivers/usb/gadget/function/f_uac1.c
index 118da07b66a9dc..adfe84c7de1143 100644
--- a/drivers/usb/gadget/function/f_uac1.c
+++ b/drivers/usb/gadget/function/f_uac1.c
@@ -141,7 +141,7 @@ static struct usb_endpoint_descriptor ac_int_ep_desc = {
 	.bInterval = 4,
 };
 
-struct usb_ss_ep_comp_descriptor ac_int_ep_desc_comp = {
+static struct usb_ss_ep_comp_descriptor ac_int_ep_desc_comp = {
 	.bLength = sizeof(ac_int_ep_desc_comp),
 	.bDescriptorType = USB_DT_SS_ENDPOINT_COMP,
 	.bMaxBurst = 0,

  parent reply	other threads:[~2022-02-14 18:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-14  7:43 [PATCH] usb: gadget: f_uac1: add superspeed transfer support 3090101217
2022-02-14 10:38 ` Greg KH
2022-02-14 14:05   ` [PATCH v2] usb: gadget: f_uac1: add different speed transfers support 3090101217
2022-02-14 14:48     ` Greg KH
2022-02-15  3:08       ` [PATCH v3] " 3090101217
2022-02-15 14:08         ` Greg KH
2022-02-16  2:24           ` 冷静
2022-02-16 10:38             ` Greg KH
2022-02-17  5:10               ` Jing Leng
2022-02-17  5:19                 ` [PATCH v4] " 3090101217
2022-02-14 18:00 ` kernel test robot [this message]
2022-02-14 18:11 ` [PATCH] usb: gadget: f_uac1: add superspeed transfer support kernel test robot
2022-02-15  3:15   ` 冷静

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220214180059.GA24958@856db070be37 \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.