mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 02:39:48 +00:00
Input: analog - fix formatting of error code
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>
This commit is contained in:
parent
a1b5196d98
commit
29c2e1249c
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue