From 58f8128eccbcdf0dff8e82925284b023002b7fae Mon Sep 17 00:00:00 2001 From: Sergio Paracuellos Date: Fri, 4 May 2018 06:16:14 +0200 Subject: [PATCH] staging: ks7010: change local variable type in ks7010_sdio_init_irqs Local variable 'byte' in ks7010_sdio_init_irqs is declared as unsigned char and can be declared as u8 which is preferred. It is being used in calls to ks7010_sdio_writeb which is already expected an u8. Signed-off-by: Sergio Paracuellos Signed-off-by: Greg Kroah-Hartman --- drivers/staging/ks7010/ks7010_sdio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/drivers/staging/ks7010/ks7010_sdio.c index db954f148fd0..9085ed752411 100644 --- a/drivers/staging/ks7010/ks7010_sdio.c +++ b/drivers/staging/ks7010/ks7010_sdio.c @@ -904,7 +904,7 @@ irq_error: static void ks7010_sdio_init_irqs(struct sdio_func *func, struct ks_wlan_private *priv) { - unsigned char byte; + u8 byte; int ret; /* -- 2.30.2