From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 461CE1CF0E6 for ; Thu, 26 Apr 2018 14:57:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 43110897DD for ; Thu, 26 Apr 2018 14:57:58 +0000 (UTC) Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D3sDFyKx9tEm for ; Thu, 26 Apr 2018 14:57:57 +0000 (UTC) Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by whitealder.osuosl.org (Postfix) with ESMTPS id 6844789773 for ; Thu, 26 Apr 2018 14:57:57 +0000 (UTC) Received: by mail-wm0-f68.google.com with SMTP id n10so13827141wmc.1 for ; Thu, 26 Apr 2018 07:57:57 -0700 (PDT) From: Sergio Paracuellos Subject: [PATCH v2 04/10] staging: ks7010: change local variable type in ks7010_rw_function Date: Thu, 26 Apr 2018 16:57:40 +0200 Message-Id: <1524754666-23072-5-git-send-email-sergio.paracuellos@gmail.com> In-Reply-To: <1524754666-23072-1-git-send-email-sergio.paracuellos@gmail.com> References: <1524754666-23072-1-git-send-email-sergio.paracuellos@gmail.com> List-Id: Linux Driver Project Developer List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" To: gregkh@linuxfoundation.org Cc: driverdev-devel@linuxdriverproject.org, wsa@the-dreams.de Local variable 'byte' in ks7010_rw_function is declared as unsigned char and can be declared as u8 which is preferred. It is being used in ks7010_sdio_readb which is already expecting an u8. Signed-off-by: Sergio Paracuellos --- 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 3574a22..dab44bb 100644 --- a/drivers/staging/ks7010/ks7010_sdio.c +++ b/drivers/staging/ks7010/ks7010_sdio.c @@ -477,7 +477,7 @@ static void ks7010_rw_function(struct work_struct *work) struct ks_wlan_private, rw_dwork.work); struct sdio_func *func = ks7010_to_func(priv); - unsigned char byte; + u8 byte; int ret; /* wait after DOZE */ -- 2.7.4 _______________________________________________ devel mailing list devel@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel