From: Chaehyun Lim Date: Thu, 22 Sep 2016 01:56:43 +0000 (+0900) Subject: staging: greybus: uart.c: change 'unsigned' to 'unsigned int' X-Git-Tag: v4.9.8~1233^2~257 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=26746a360394158850c494dd89d9d4f2d276b032;p=platform%2Fkernel%2Flinux-rpi3.git 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 --- 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;