Return-path: Received: from esa1.microchip.iphmx.com ([68.232.147.91]:2345 "EHLO esa1.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731001AbeISLme (ORCPT ); Wed, 19 Sep 2018 07:42:34 -0400 From: Ajay Singh To: CC: , , , , , , , Ajay Singh Subject: [PATCH 13/29] staging: wilc1000: changes 'val' type to u8 in wilc_cfg_byte struct Date: Wed, 19 Sep 2018 11:35:03 +0530 Message-ID: <1537337119-14952-14-git-send-email-ajay.kathat@microchip.com> (sfid-20180919_080629_657077_B7820864) In-Reply-To: <1537337119-14952-1-git-send-email-ajay.kathat@microchip.com> References: <1537337119-14952-1-git-send-email-ajay.kathat@microchip.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-wireless-owner@vger.kernel.org List-ID: Use the correct datatype for storing the byte value in 'wilc_cfg_byte' struct. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/wilc_wlan_cfg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/wilc_wlan_cfg.h b/drivers/staging/wilc1000/wilc_wlan_cfg.h index 189e617..082093f 100644 --- a/drivers/staging/wilc1000/wilc_wlan_cfg.h +++ b/drivers/staging/wilc1000/wilc_wlan_cfg.h @@ -9,7 +9,7 @@ struct wilc_cfg_byte { u16 id; - u16 val; + u8 val; }; struct wilc_cfg_hword { -- 2.7.4