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-Url: https://git.stricted.de/?a=commitdiff_plain;h=26746a360394158850c494dd89d9d4f2d276b032;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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 01aeed1b3a9c..a3c753b74f2b 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;