Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1711986
| From | Julia Lawall <Julia.Lawall@lip6.fr> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 0/3] constify snd_rawmidi_ops structures |
| Date | 2017-08-15 11:10 +0200 |
| Message-ID | <ueG1k-7QP-21@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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. --- drivers/hid/hid-prodikeys.c | 2 +- drivers/usb/gadget/function/f_midi.c | 4 ++-- sound/firewire/motu/motu-midi.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-)
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 0/3] constify snd_rawmidi_ops structures Julia Lawall <Julia.Lawall@lip6.fr> - 2017-08-15 11:10 +0200
csiph-web