[PATCH] staging: wlan-ng: Use little-endian type
Frans Klaver
fransklaver at gmail.com
Wed Jul 12 05:26:08 UTC 2017
On Tue, Jul 11, 2017 at 9:51 PM, Aviv Palivoda <palaviv at 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
More information about the devel
mailing list