Skip to content

Input: Increase size of phys in the drivers

Andy Shevchenko linux-input lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Input: ALPS - increase size of phys2 and phys3drivers/input/mouse/alps.h+2 -20 replies
2/4Input: atkbd - increase size of physdrivers/input/keyboard/atkbd.c+1 -10 replies
3/4Input: lifebook - increase size of physdrivers/input/mouse/lifebook.c+1 -10 replies
4/4Input: psmouse - increase size of physdrivers/input/mouse/psmouse.h+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 v1 0/4] Input: Increase size of phys in the drivers

The drivers are using local member of 32 bytes to hold up to 40 (one-byte) characters. GCC complains on that. This series fixes the issue in the affected input drivers. Note, this is currently the biggest part of the warnings that are being treated as errors with the default configurations on x86. With this being applied we become quite close to enable CONFIG_WERROR=y (which is default and basically reverted) in CIs. Clang, OTOH, has currently no issues with that.

Andy Shevchenko (4):
Input: ALPS - increase size of phys2 and phys3
Input: atkbd - increase size of phys
Input: lifebook - increase size of phys
Input: psmouse - increase size of phys

 drivers/input/keyboard/atkbd.c | 2 +-
 drivers/input/mouse/alps.h     | 4 ++--
 drivers/input/mouse/lifebook.c | 2 +-
 drivers/input/mouse/psmouse.h  | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)
Signature · 1 line
2.47.2