Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Input: cros_ec_keyb - clarify key event error message

Reword one of the key event error messages to clarify its meaning: it's
not necessarily an incomplete message, more of a mismatch length.
Clarify that and log the expected and received length too.

Signed-off-by: Fabio Baltieri <fabiobaltieri@chromium.org>
Reviewed-by: Simon Glass <simon.glass@canonical.com>
Link: https://patch.msgid.link/20251209154706.529784-2-fabiobaltieri@chromium.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Fabio Baltieri and committed by
Dmitry Torokhov
a14be6cd 673b192d

+2 -1
+2 -1
drivers/input/keyboard/cros_ec_keyb.c
··· 269 269 270 270 if (ckdev->ec->event_size != ckdev->cols) { 271 271 dev_err(ckdev->dev, 272 - "Discarded incomplete key matrix event.\n"); 272 + "Discarded key matrix event, unexpected length: %d != %d\n", 273 + ckdev->ec->event_size, ckdev->cols); 273 274 return NOTIFY_OK; 274 275 } 275 276