Re: [PATCH] Convert __le16 to cpu before casting to u32

2017-04-08 Thread Greg Kroah-Hartman
On Sun, Mar 26, 2017 at 12:24:14AM +0100, Guillaume Brogi wrote: > > This patch fixes the following sparse warnings: > drivers/staging/rtl8192u/r8192U_dm.c:2307:49: warning: cast from restricted > __le16 > drivers/staging/rtl8192u/r8192U_dm.c:2308:44: warning: cast from restricted > __le16 > dri

[PATCH] Convert __le16 to cpu before casting to u32

2017-03-25 Thread Guillaume Brogi
This patch fixes the following sparse warnings: drivers/staging/rtl8192u/r8192U_dm.c:2307:49: warning: cast from restricted __le16 drivers/staging/rtl8192u/r8192U_dm.c:2308:44: warning: cast from restricted __le16 drivers/staging/rtl8192u/r8192U_dm.c:2309:44: warning: cast from restricted __le1