From: Sergio Paracuellos Date: Fri, 4 May 2018 04:16:13 +0000 (+0200) Subject: staging: ks7010: change some local variables type in ks_sdio_interrupt X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=29699193df74cf993e4eee37709ec12cf7def743;p=openwrt%2Fstaging%2Fblogic.git staging: ks7010: change some local variables type in ks_sdio_interrupt Local variables 'status', 'rsize' and 'byte' are declared as unsigned char and can be declared as u8 which is preferred. They are being used in ks7010_sdio_readb calls which is already expected an u8. Signed-off-by: Sergio Paracuellos Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/drivers/staging/ks7010/ks7010_sdio.c index dab44bb7a1c9..db954f148fd0 100644 --- a/drivers/staging/ks7010/ks7010_sdio.c +++ b/drivers/staging/ks7010/ks7010_sdio.c @@ -542,7 +542,7 @@ static void ks_sdio_interrupt(struct sdio_func *func) int ret; struct ks_sdio_card *card; struct ks_wlan_private *priv; - unsigned char status, rsize, byte; + u8 status, rsize, byte; card = sdio_get_drvdata(func); priv = card->priv;