[PATCH v1 0/4] Input: Increase size of phys in the drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.47.2





[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux