Re: [PATCH v2 0/5] HID: hidraw: Encapsulate struct hidraw and make hidraw.h private
From: Dmitry Torokhov
Date: Thu Nov 12 2026 - 00:33:31 EST
Hi Benjamin,
On Fri, Oct 16, 2026 at 03:41:47PM -0700, Dmitry Torokhov wrote:
> This series cleans up internal HID core and hidraw header boundaries.
>
> First, internal HID core declarations and unused symbol exports are
> moved out of include/linux/hid.h into a private drivers/hid/hid-core.h
> header. Next, a hidraw_instance() accessor is introduced in
> include/linux/hidraw.h so HID drivers that only need the hidraw minor
> number for naming or debug logging no longer dereference struct hidraw
> directly. After converting the drivers and dropping unused
> linux/hidraw.h includes, hidraw.h is moved to drivers/hid/hidraw.h and
> struct hidraw along with its internal buffer and list structures are
> made private to drivers/hid/hidraw.c.
Gentle ping on v2 of this series. I verified that it still merges
cleanly onto next-20261109. Could you please take a look?
Thanks.
--
Dmitry