From: Ping Cheng <pinglinux@gmail.com>
To: benjamin.tissoires@gmail.com, jkosina@suse.cz
Cc: linux-input@vger.kernel.org, Ping Cheng <pingc@wacom.com>
Subject: [PATCH 0/3] Cleanup to get rid of a static checker warning
Date: Fri, 20 Mar 2015 14:56:40 -0700 [thread overview]
Message-ID: <1426888600-8603-1-git-send-email-pingc@wacom.com> (raw)
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(-)
--
1.9.1
next reply other threads:[~2015-03-20 21:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-20 21:56 Ping Cheng [this message]
2015-04-02 12:21 ` [PATCH 0/3] Cleanup to get rid of a static checker warning Jiri Kosina
2015-04-02 22:45 ` Ping Cheng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1426888600-8603-1-git-send-email-pingc@wacom.com \
--to=pinglinux@gmail.com \
--cc=benjamin.tissoires@gmail.com \
--cc=jkosina@suse.cz \
--cc=linux-input@vger.kernel.org \
--cc=pingc@wacom.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).