Input: uinput - breaks by goto out in uinput_ioctl_handler
authorBenjamin Tisssoires <benjamin.tissoires@redhat.com>
Fri, 31 Jan 2014 01:16:36 +0000 (17:16 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 31 Jan 2014 01:30:57 +0000 (17:30 -0800)
commit9d51e801dba0c79ae979ef2f6928e402eb41009b
tree038314e23edf877a325746a851a094c4e1ae79bf
parent6f2e6c9b451b907b693b7fe3db3792e57796ffea
Input: uinput - breaks by goto out in uinput_ioctl_handler

The current implementation prevents us to add variable-length ioctl.
Use a bunch of gotos instead of break to allow us to do so.

No functional changes.

Signed-off-by: Benjamin Tisssoires <benjamin.tissoires@redhat.com>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/uinput.c