From: sashiko-bot@kernel.org
To: "R. Larocque" <rlarocque@disroot.org>
Cc: linux-input@vger.kernel.org, dmitry.torokhov@gmail.com
Subject: Re: [PATCH] Input: synaptics - disable InterTouch on ThinkPad T440p (board id 2722)
Date: Tue, 18 Aug 2026 20:49:49 +0000 [thread overview]
Message-ID: <20260818204952.CCF5F1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260818204215.72914-1-rlarocque@disroot.org>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Format string specifier mismatch in psmouse_info: using `%d` for `u32` variable.
--
--- Patch [1]: [PATCH] Input: synaptics - disable InterTouch on ThinkPad T440p (board id 2722) ---
commit 4b10eb76fbd26fd6245ba466bd6e79e874e7afbb
Author: Raphaël Larocque <rlarocque@disroot.org>
Input: synaptics - disable InterTouch on ThinkPad T440p (board id 2722)
This commit disables SMBus InterTouch for the Lenovo ThinkPad T440p (PNP ID
LEN0036, board id 2722) by default. This addresses an issue where the SMBus
companion takes too long to appear at boot, causing the touchpad to become
unresponsive.
> diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c
> index 2170bbe4c5897..141d58a716180 100644
> --- a/drivers/input/mouse/synaptics.c
> +++ b/drivers/input/mouse/synaptics.c
[ ... ]
> @@ -1838,6 +1838,16 @@ static int synaptics_setup_intertouch(struct psmouse *psmouse,
[ ... ]
> + /* Disable intertouch on known-broken board revisions */
> + if (psmouse_matches_pnp_id(psmouse,
> + (const char * const []){"LEN0036", NULL}) &&
> + info->board_id == 2722) {
> + psmouse_info(psmouse,
> + "Disabling intertouch for board id %d\n",
> + info->board_id);
[Severity: Low]
Since info->board_id is defined as a u32 (unsigned 32-bit integer) in struct
synaptics_device_info, should this format specifier be %u instead of %d to
avoid strict type warnings?
> + return -ENXIO;
> + }
> }
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260818204215.72914-1-rlarocque@disroot.org?part=1
next prev parent reply other threads:[~2026-08-18 20:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-18 20:42 [PATCH] Input: synaptics - disable InterTouch on ThinkPad T440p (board id 2722) R. Larocque
2026-08-18 20:49 ` sashiko-bot [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-06-16 17:11 Raphaël Larocque
2026-06-16 18:49 ` Dmitry Torokhov
2026-06-17 2:56 ` Raphaël Larocque
2026-06-17 3:04 ` sashiko-bot
2026-06-17 3:34 ` Raphaël Larocque
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=20260818204952.CCF5F1F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=rlarocque@disroot.org \
--cc=sashiko-reviews@lists.linux.dev \
/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