Skip to content

constify ALSA usb_device_id.

Arvind Yadav alsa-devel lkml 1 version Applied

Status from this message: Applied all seven patches now. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7ALSA: 6fire: constify usb_device_id.sound/usb/6fire/chip.c+1 -10 replies
2/7ALSA: bcd2000: constify usb_device_id.sound/usb/bcd2000/bcd2000.c+1 -10 replies
3/7ALSA: snd-usb-caiaq: constify usb_device_id.sound/usb/caiaq/device.c+1 -10 replies
4/7ALSA: usb-audio: constify usb_device_id.sound/usb/card.c+2 -20 replies
5/7ALSA: ua101: constify usb_device_id.sound/usb/misc/ua101.c+1 -10 replies
6/7ALSA: us122l: constify usb_device_id.sound/usb/usx2y/us122l.c+1 -10 replies
7/7ALSA: usbusx2y: constify usb_device_id.sound/usb/usx2y/usbusx2y.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] constify ALSA usb_device_id.

usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by <linux/usb.h> work with const usb_device_id. So mark the non-const structs as const.

Arvind Yadav (7):
[PATCH 1/7] ALSA: 6fire: constify usb_device_id. [PATCH 2/7] ALSA: bcd2000: constify usb_device_id. [PATCH 3/7] ALSA: snd-usb-caiaq: constify usb_device_id. [PATCH 4/7] ALSA: usb-audio: constify usb_device_id. [PATCH 5/7] ALSA: ua101: constify usb_device_id. [PATCH 6/7] ALSA: us122l: constify usb_device_id. [PATCH 7/7] ALSA: usbusx2y: constify usb_device_id.

 sound/usb/6fire/chip.c      | 2 +-
 sound/usb/bcd2000/bcd2000.c | 2 +-
 sound/usb/caiaq/device.c    | 2 +-
 sound/usb/card.c            | 4 ++--
 sound/usb/misc/ua101.c      | 2 +-
 sound/usb/usx2y/us122l.c    | 2 +-
 sound/usb/usx2y/usbusx2y.c  | 2 +-
 7 files changed, 8 insertions(+), 8 deletions(-)
Signature · 1 line
2.7.4