From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============9107064703255862213==" MIME-Version: 1.0 From: kernel test robot 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 Message-ID: <20220214180059.GA24958@856db070be37> In-Reply-To: <20220214074352.3447-1-3090101217@zju.edu.cn> List-Id: --===============9107064703255862213== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable drivers/usb/gadget/function/f_uac1.c:144:34: warning: symbol 'ac_int_ep_des= c_comp' was not declared. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- 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/func= tion/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 = =3D { .bInterval =3D 4, }; = -struct usb_ss_ep_comp_descriptor ac_int_ep_desc_comp =3D { +static struct usb_ss_ep_comp_descriptor ac_int_ep_desc_comp =3D { .bLength =3D sizeof(ac_int_ep_desc_comp), .bDescriptorType =3D USB_DT_SS_ENDPOINT_COMP, .bMaxBurst =3D 0, --===============9107064703255862213==--