Re: [PATCH] staging: rtl8192u: Fix sparse warning

2017-04-28 Thread Marcos Paulo de Souza
On Fri, Apr 28, 2017 at 12:29:55PM +0200, Greg Kroah-Hartman wrote: > On Sun, Apr 23, 2017 at 05:51:17PM -0300, Marcos Paulo de Souza wrote: > > Fix the following sparse warning: > > rtl8192u/ieee80211/ieee80211_rx.c:1489:45: warning: incorrect type in > > assignment (different base types) > > rtl

Re: [PATCH] staging: rtl8192u: Fix sparse warning

2017-04-28 Thread Greg Kroah-Hartman
On Sun, Apr 23, 2017 at 05:51:17PM -0300, Marcos Paulo de Souza wrote: > Fix the following sparse warning: > rtl8192u/ieee80211/ieee80211_rx.c:1489:45: warning: incorrect type in > assignment (different base types) > rtl8192u/ieee80211/ieee80211_rx.c:1489:45:expected restricted __le16 > > rt

[PATCH] staging: rtl8192u: Fix sparse warning

2017-04-23 Thread Marcos Paulo de Souza
Fix the following sparse warning: rtl8192u/ieee80211/ieee80211_rx.c:1489:45: warning: incorrect type in assignment (different base types) rtl8192u/ieee80211/ieee80211_rx.c:1489:45:expected restricted __le16 rtl8192u/ieee80211/ieee80211_rx.c:1489:45:got unsigned short [unsigned] [usertyp