Skip to content

Cleanup to get rid of a static checker warning

Ping Cheng linux-input 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3HID: wacom: remove hardcoded WACOM_QUIRK_MULTI_INPUTdrivers/hid/wacom_sys.c drivers/hid/wacom_wac.c drivers/hid/wacom_wac.h+19 -321 reply
2/3HID: wacom: use wacom_wac_finger_count_touches to set touch_downdrivers/hid/wacom_wac.c+33 -511 reply
3/3HID: wacom: set stylus_in_proximity before checking touch_downdrivers/hid/wacom_wac.c+16 -191 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchJason Gerecke
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Cleanup to get rid of a static checker warning

Patch e2c7d8877e5c leads to the following Smatch complaint:

drivers/hid/wacom_wac.c:602 wacom_intuos_inout()

         error: we previously assumed 'wacom->shared' could be null (see line 584)

The first patch in this series fixes that warning. The next two cleans up the code and fixes a logic order.

The patchset is based on Jiri's for-4.0/upstream-fixes branch.

Ping Cheng (3):
HID: wacom: remove hardcoded WACOM_QUIRK_MULTI_INPUT
HID: wacom: use wacom_wac_finger_count_touches to set touch_down
HID: wacom: set stylus_in_proximity before checking touch_down

 drivers/hid/wacom_sys.c |  24 ++++-----
 drivers/hid/wacom_wac.c | 137 +++++++++++++++++++-----------------------------
 drivers/hid/wacom_wac.h |   9 ++--
 3 files changed, 68 insertions(+), 102 deletions(-)
Signature · 1 line
1.9.1