From 26746a360394158850c494dd89d9d4f2d276b032 Mon Sep 17 00:00:00 2001 From: Chaehyun Lim Date: Thu, 22 Sep 2016 10:56:43 +0900 Subject: [PATCH] staging: greybus: uart.c: change 'unsigned' to 'unsigned int' Fixes checkpatch.pl warning: WARNING: Prefer 'unsigned int' to bare use of 'unsigned' Signed-off-by: Chaehyun Lim Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/greybus/uart.c b/drivers/staging/greybus/uart.c index 01aeed1..a3c753b 100644 --- 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; -- 2.7.4