diff options
author | Jiri Slaby <jslaby@suse.cz> | 2017-03-15 14:00:09 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-17 07:27:41 +0300 |
commit | a25557f2472c958536ef8b6a5bf340a008a651b3 (patch) | |
tree | 86dce229072c37176c3f913cb3ebc42c5418d135 /drivers/usb/gadget/function/u_serial.h | |
parent | dd1203c91bd648a31b872e74df8f2003df2c785c (diff) | |
download | linux-a25557f2472c958536ef8b6a5bf340a008a651b3.tar.xz |
USB: misc: sisusb_con: fix coccinelle warning
After commit d705ff3818 (tty: vt, cleanup and document con_scroll), in
the coccinelle output, we can see:
drivers/usb/misc/sisusbvga/sisusb_con.c:852:8-9: WARNING: return of 0/1 in function 'sisusbcon_scroll_area' with return type bool
Return true instead of 1 in the function returning bool which was
intended to do in d705ff3818 but omitted.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Fixes: d705ff3818 (tty: vt, cleanup and document con_scroll)
Cc: Thomas Winischhofer <thomas@winischhofer.net>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-usb@vger.kernel.org
Cc: cocci@systeme.lip6.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/gadget/function/u_serial.h')
0 files changed, 0 insertions, 0 deletions