Skip to content

constify input usb_device_id.

Arvind Yadav linux-input lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8Input: iforce: constify usb_device_id and fix space before '[' error:drivers/input/joystick/iforce/iforce-usb.c+1 -10 replies
2/8Input: xpad: constify usb_device_id.drivers/input/joystick/xpad.c+1 -10 replies
3/8Input: keyspan_remote: constify usb_device_id.drivers/input/misc/keyspan_remote.c+1 -10 replies
4/8Input: powermate: constify usb_device_id and fix space before '[' error.drivers/input/misc/powermate.c+1 -10 replies
5/8Input: appletouch: constify usb_device_id.drivers/input/mouse/appletouch.c+1 -10 replies
6/8Input: synaptics_usb: constify usb_device_id.drivers/input/mouse/synaptics_usb.c+1 -10 replies
7/8Input: acecad: constify usb_device_idi and fix space before '[' error.drivers/input/tablet/acecad.c+1 -10 replies
8/8Input: kbtab: constify usb_device_id.drivers/input/tablet/kbtab.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/8] constify input 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.

Fix checkpatch.pl error in patch 1,3 and 7:
ERROR: space prohibited before open square bracket '['.

Arvind Yadav (8):
[PATCH 1/8] Input: iforce: constify usb_device_id and fix space before '[' error. [PATCH 2/8] Input: xpad: constify usb_device_id.
[PATCH 3/8] Input: keyspan_remote: constify usb_device_id.
[PATCH 4/8] Input: powermate: constify usb_device_id and fix space before '[' error. [PATCH 5/8] Input: appletouch: constify usb_device_id.
[PATCH 6/8] Input: synaptics_usb: constify usb_device_id.
[PATCH 7/8] Input: acecad: constify usb_device_id and fix space before '[' error. [PATCH 8/8] Input: kbtab: constify usb_device_id.

 drivers/input/joystick/iforce/iforce-usb.c | 2 +-
 drivers/input/joystick/xpad.c              | 2 +-
 drivers/input/misc/keyspan_remote.c        | 2 +-
 drivers/input/misc/powermate.c             | 2 +-
 drivers/input/mouse/appletouch.c           | 2 +-
 drivers/input/mouse/synaptics_usb.c        | 2 +-
 drivers/input/tablet/acecad.c              | 2 +-
 drivers/input/tablet/kbtab.c               | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)
Signature · 1 line
2.7.4