]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
HID: logitech-dj: Differentiate "invalid device index" error
authorBastien Nocera <hadess@hadess.net>
Sun, 25 Jan 2026 12:12:01 +0000 (13:12 +0100)
committerJiri Kosina <jkosina@suse.com>
Mon, 2 Feb 2026 12:47:56 +0000 (13:47 +0100)
commit4c6a83fc2f3061108828fbd2c59bdd89d9dd54e7
tree5f65307caf8e5e7a87b3328941d60bfec3208305
parent8e4ac86b2ddd36fe501e20ecfcc080e536df1f48
HID: logitech-dj: Differentiate "invalid device index" error

We had 2 codepaths throwing the "invalid device index" error, but one of
them was about the index not matching the receiver, so change the error
to "invalid receiver index".

Signed-off-by: Bastien Nocera <hadess@hadess.net>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/hid-logitech-dj.c