All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <u.kleine-koenig@baylibre.com>
To: sashiko-reviews@lists.linux.dev
Cc: linux-input@vger.kernel.org, dmitry.torokhov@gmail.com
Subject: Re: [PATCH v1 8/9] HID: wacom: Benefit from pointer typed driver_data in hid_device_id
Date: Wed, 25 Nov 2026 12:46:53 +0100	[thread overview]
Message-ID: <awbKcWrqDeLYFIrw@monoceros> (raw)
In-Reply-To: <sashiko-outbox-232815@kernel.org>

[-- Attachment #1: Type: text/plain, Size: 700 bytes --]

Hello,

On Wed, Nov 25, 2026 at 07:34:34AM +0000, sashiko-bot@kernel.org wrote:
> > @@ -2670,7 +2670,7 @@ static void wacom_wireless_work(struct work_struct *work)
> >  		    (wacom_wac1->features.type >= INTUOSHT &&
> >  		    wacom_wac1->features.type <= BAMBOO_PT)) {
> >  			wacom_wac2->features =
> > -				*((struct wacom_features *)id->driver_data);
> > +				*(const struct wacom_features *)id->driver_data;
> 
> [Severity: Low]
> Should this touch interface assignment also use id->driver_data_ptr instead
> of id->driver_data, matching the stylus interface assignment above?

Yes it should. Will fix in v2, but I'll wait a bit for further feedback
first.

Best regards
Uwe

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2026-11-25 11:46 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25  7:21 [PATCH v1 0/9] HID: Make driver_data in hid_device_id a union Uwe Kleine-König
2026-11-25  7:21 ` [PATCH v1 1/9] HID: asus: Use designated initializer for hid_device_id Uwe Kleine-König
2026-11-25  7:21 ` [PATCH v1 2/9] HID: i2c-hid: " Uwe Kleine-König
2026-11-25  7:21 ` [PATCH v1 3/9] HID: input: " Uwe Kleine-König
2026-11-25  7:21 ` [PATCH v1 4/9] HID: quirks: " Uwe Kleine-König
2026-11-25  7:21 ` [PATCH v1 5/9] HID: core: Make driver_data in hid_device_id a union Uwe Kleine-König
2026-11-25  7:21 ` [PATCH v1 6/9] HID: steelseries: Benefit from pointer typed driver_data in hid_device_id Uwe Kleine-König
2026-11-25  7:21 ` [PATCH v1 7/9] HID: tmff: " Uwe Kleine-König
2026-11-25  7:21 ` [PATCH v1 8/9] HID: wacom: " Uwe Kleine-König
2026-11-25  7:34   ` sashiko-bot
2026-11-25 11:46     ` Uwe Kleine-König [this message]
2026-11-25  7:21 ` [PATCH v1 9/9] hwmon: (asus_rog_ryujin) " Uwe Kleine-König
2026-11-25  7:34 ` [PATCH v1 0/9] HID: Make driver_data in hid_device_id a union sashiko-bot
2026-11-25 14:23 ` Pawel Zalewski
2026-11-28 18:50   ` Guenter Roeck
2026-11-28 22:24     ` Uwe Kleine-König
2026-11-30 12:53     ` Pawel Zalewski

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=awbKcWrqDeLYFIrw@monoceros \
    --to=u.kleine-koenig@baylibre.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.