On Tue, Jul 11, 2017 at 9:51 PM, Aviv Palivoda <pala...@gmail.com> wrote:
> Fix the following sparse warning:
> drivers/staging//wlan-ng/prism2sta.c:1691:20: warning: incorrect type in 
> assignment (different base types)
>
> (a) Change struct hfa384x_authenticate_station_data status member type to 
> __le16.
> (b) All assignment to status are converted to little-endian prior to 
> assignment.

Why is this the right thing to do?

Frans
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to