projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3311157
)
staging: greybus: uart.c: change 'unsigned' to 'unsigned int'
author
Chaehyun Lim
<chaehyun.lim@gmail.com>
Thu, 22 Sep 2016 01:56:43 +0000
(10:56 +0900)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 22 Sep 2016 09:54:47 +0000
(11:54 +0200)
Fixes checkpatch.pl warning:
WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/uart.c
patch
|
blob
|
history
diff --git
a/drivers/staging/greybus/uart.c
b/drivers/staging/greybus/uart.c
index 01aeed1b3a9c0e1ad09af069d7d6a3a4e8b4dab9..a3c753b74f2b095d22c1fae50da8a44124e98c1a 100644
(file)
--- a/
drivers/staging/greybus/uart.c
+++ b/
drivers/staging/greybus/uart.c
@@
-350,7
+350,7
@@
static int gb_uart_flush(struct gb_tty *gb_tty, u8 flags)
&request, sizeof(request), NULL, 0);
}
-static struct gb_tty *get_gb_by_minor(unsigned minor)
+static struct gb_tty *get_gb_by_minor(unsigned
int
minor)
{
struct gb_tty *gb_tty;