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: ims-pcu - drop repeated "input" in error message

This case of the common error message upon failure of
input_allocate_device() repeats the word "input".

Drop one "input" from the error message.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Reviewed-by: Kees Cook <kees@kernel.org>
Link: https://lore.kernel.org/r/20240619-ims-pcu-counted_by-v1-2-3ee0ead2e57d@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Javier Carrasco and committed by
Dmitry Torokhov
daa268ae e8135f9d

+1 -2
+1 -2
drivers/input/misc/ims-pcu.c
··· 207 207 208 208 input = input_allocate_device(); 209 209 if (!input) { 210 - dev_err(pcu->dev, 211 - "Not enough memory for input input device\n"); 210 + dev_err(pcu->dev, "Not enough memory for input device\n"); 212 211 return -ENOMEM; 213 212 } 214 213