diff options
author | Michael Straube <straube.linux@gmail.com> | 2019-10-26 14:11:30 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-26 20:45:46 +0200 |
commit | da3611f2fa4bcc47ed769197d93823d3a788b6e9 (patch) | |
tree | b6fbda746966a53e2c5f990d3e79a733c28eb07b /drivers/staging/rtl8188eu | |
parent | staging: rtl8188eu: cleanup comments in rtw_sta_mgt.c (diff) | |
download | linux-dev-da3611f2fa4bcc47ed769197d93823d3a788b6e9.tar.xz linux-dev-da3611f2fa4bcc47ed769197d93823d3a788b6e9.zip |
staging: rtl8188eu: convert unsigned char array to u8
Convert array bcast_addr from unsigned char to u8.
Clears a line over 80 characters checkpatch warning.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20191026121135.181897-2-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu')
-rw-r--r-- | drivers/staging/rtl8188eu/core/rtw_sta_mgt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8188eu/core/rtw_sta_mgt.c b/drivers/staging/rtl8188eu/core/rtw_sta_mgt.c index cbe970979eb0..394b887a8bde 100644 --- a/drivers/staging/rtl8188eu/core/rtw_sta_mgt.c +++ b/drivers/staging/rtl8188eu/core/rtw_sta_mgt.c @@ -450,7 +450,7 @@ u32 rtw_init_bcmc_stainfo(struct adapter *padapter) { struct sta_info *psta; u32 res = _SUCCESS; - unsigned char bcast_addr[ETH_ALEN] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff}; + u8 bcast_addr[ETH_ALEN] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff}; struct sta_priv *pstapriv = &padapter->stapriv; psta = rtw_alloc_stainfo(pstapriv, bcast_addr); |