diff options
author | Adrien Descamps <adrien.descamps@gmail.com> | 2017-03-09 21:15:19 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-12 15:17:02 +0100 |
commit | 68e009ed1cc699a32557705d76877c5209400103 (patch) | |
tree | 009e5d0de96a7f6a71aa788c14903ed6c81810f1 /lib/once.c | |
parent | a18ffdf4ea7c6ac496f940d0852d42e1074c3450 (diff) |
Staging: wlan-ng: Fix endian error
sparse report fixed:
drivers/staging//wlan-ng//hfa384x_usb.c:3517:35: warning: restricted __be64 degrades to integer
drivers/staging//wlan-ng//hfa384x_usb.c:3517:33: warning: incorrect type in assignment (different base types)
drivers/staging//wlan-ng//hfa384x_usb.c:3517:33: expected restricted __be64 [usertype] mactime
drivers/staging//wlan-ng//hfa384x_usb.c:3517:33: got unsigned long long
Computation on the value should be done when in machine format, not in big endian format.
Signed-off-by: Adrien Descamps <adrien.descamps@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/once.c')
0 files changed, 0 insertions, 0 deletions