Re: [PATCH] HID: remove duplicate hid_warn_ratelimited definition
From: Benjamin Tissoires
Date: Thu May 21 2026 - 11:40:30 EST
On Thu, 07 May 2026 08:41:08 +0000, 刘 凯 wrote:
> The hid_warn_ratelimited macro is defined twice in include/linux/hid.h:
> at line 1317 (added by commit 4051ead99888) and at line 1339 (added by
> commit 1d64624243af).
>
> The second definition is correctly grouped with other ratelimited macros.
> Remove the duplicate definition at line 1317.
>
> [...]
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git (for-7.1/upstream-fixes), thanks!
[1/1] HID: remove duplicate hid_warn_ratelimited definition
https://git.kernel.org/hid/hid/c/dd2147375a8f
Cheers,
--
Benjamin Tissoires <bentiss@xxxxxxxxxx>