From: Takashi Iwai <tiwai@suse.de>
To: "Geoffrey D. Bennett" <g@b4.vu>
Cc: alsa-devel@alsa-project.org
Subject: Re: [RFC PATCH sound] ALSA: usb-audio: scarlett2: snd_scarlett_gen2_controls_create() can be static
Date: Sun, 23 May 2021 11:10:22 +0200 [thread overview]
Message-ID: <s5hv979ery9.wl-tiwai@suse.de> (raw)
In-Reply-To: <20210523090326.GA121080@m.b4.vu>
On Sun, 23 May 2021 11:03:26 +0200,
Geoffrey D. Bennett wrote:
>
> Hi Takashi,
>
> This patch seems legitimate to me (although I would adjust whitespace
> so the second line doesn't go over 80 chars). Do you want to just
> apply it as-is, or do you want me to send a second version of my patch
> without this problem or send a new patch similar to this one?
As it's an obviously correct patch, I already applied as is.
thanks,
Takashi
>
> Also sorry I don't know what the etiquette is in cc's for this message
> :(. The message from kernel test robot was sent to a lot of people who
> I don't think would be interested in this, so I trimmed the cc list
> down.
>
> Thanks,
> Geoffrey.
>
> On Sun, May 23, 2021 at 02:09:00AM +0800, kernel test robot wrote:
> > sound/usb/mixer_scarlett_gen2.c:2000:5: warning: symbol 'snd_scarlett_gen2_controls_create' was not declared. Should it be static?
> >
> > Fixes: 265d1a90e4fb ("ALSA: usb-audio: scarlett2: Improve driver startup messages")
> > Reported-by: kernel test robot <lkp@intel.com>
> > Signed-off-by: kernel test robot <lkp@intel.com>
> > ---
> > mixer_scarlett_gen2.c | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/sound/usb/mixer_scarlett_gen2.c b/sound/usb/mixer_scarlett_gen2.c
> > index 3ad8f61a2095f..4caf379d5b991 100644
> > --- a/sound/usb/mixer_scarlett_gen2.c
> > +++ b/sound/usb/mixer_scarlett_gen2.c
> > @@ -1997,8 +1997,8 @@ static int scarlett2_mixer_status_create(struct usb_mixer_interface *mixer)
> > return usb_submit_urb(mixer->urb, GFP_KERNEL);
> > }
> >
> > -int snd_scarlett_gen2_controls_create(struct usb_mixer_interface *mixer,
> > - const struct scarlett2_device_info *info)
> > +static int snd_scarlett_gen2_controls_create(struct usb_mixer_interface *mixer,
> > + const struct scarlett2_device_info *info)
> > {
> > int err;
> >
>
next prev parent reply other threads:[~2021-05-23 9:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-22 18:08 [sound:for-linus 117/119] sound/usb/mixer_scarlett_gen2.c:2000:5: sparse: sparse: symbol 'snd_scarlett_gen2_controls_create' was not declared. Should it be static? kernel test robot
2021-05-22 18:09 ` [RFC PATCH sound] ALSA: usb-audio: scarlett2: snd_scarlett_gen2_controls_create() can be static kernel test robot
2021-05-23 8:32 ` Takashi Iwai
2021-05-23 9:03 ` Geoffrey D. Bennett
2021-05-23 9:10 ` Takashi Iwai [this message]
2021-05-23 9:13 ` Geoffrey D. Bennett
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=s5hv979ery9.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=g@b4.vu \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox