projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1b5196
)
Input: analog - fix formatting of error code
author
Zhang Qilong
<zhangqilong3@huawei.com>
Wed, 28 Oct 2020 19:21:47 +0000
(12:21 -0700)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Mon, 9 Nov 2020 06:31:16 +0000
(22:31 -0800)
The location of the minus sign and the error code are
linked together for better human view.
Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Link:
https://lore.kernel.org/r/20201027135020.66632-1-zhangqilong3@huawei.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/analog.c
patch
|
blob
|
history
diff --git
a/drivers/input/joystick/analog.c
b/drivers/input/joystick/analog.c
index 2b625ebef914d13772ce40aaaa6b14dc9c3e50a7..f798922a4598c15c40a2da2aeb1dc0f7b82698b7 100644
(file)
--- a/
drivers/input/joystick/analog.c
+++ b/
drivers/input/joystick/analog.c
@@
-665,7
+665,7
@@
static int analog_connect(struct gameport *gameport, struct gameport_driver *drv
int err;
if (!(port = kzalloc(sizeof(struct analog_port), GFP_KERNEL)))
- return -
ENOMEM;
+ return -ENOMEM;
err = analog_init_port(gameport, drv, port);
if (err)