[alsa-devel] [PATCH 3/3] ALSA: firewire-motu: constify snd_rawmidi_ops structures

Takashi Iwai tiwai at suse.de
Tue Aug 15 11:29:42 CEST 2017


On Tue, 15 Aug 2017 11:00:17 +0200,
Julia Lawall wrote:
> 
> 
> 
> On Tue, 15 Aug 2017, Takashi Iwai wrote:
> 
> > On Tue, 15 Aug 2017 10:09:54 +0200,
> > Julia Lawall wrote:
> > >
> > > These snd_rawmidi_ops structures are only passed as the third
> > > argument of snd_rawmidi_set_ops.  This argument is const, so the
> > > snd_rawmidi_ops structures can be const too.
> > >
> > > Done with the help of Coccinelle.
> > >
> > > Signed-off-by: Julia Lawall <Julia.Lawall at lip6.fr>
> >
> > What are other two patches?  Since I haven't received a cover letter,
> > no idea whether I overlooked them or not relevant with my tree...
> 
> Oops, I forgot to make a cover letter for this.  The others are:
> 
> drivers/hid/hid-prodikeys.c
> drivers/usb/gadget/function/f_midi.c

OK, thanks!


Takashi


More information about the Alsa-devel mailing list