diff options
author | Alexander Aring <alex.aring@gmail.com> | 2014-11-02 21:43:03 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-11-02 21:52:02 +0100 |
commit | f753f7eeb4178ab8eeaf513a4fdf1c20ddf40474 (patch) | |
tree | 97dae5215789bf41c3a862cb05f0efc939ef82f0 /usr | |
parent | c28bee84c5c49312befe1b442e1044ac2392d80d (diff) | |
download | lwn-f753f7eeb4178ab8eeaf513a4fdf1c20ddf40474.tar.gz lwn-f753f7eeb4178ab8eeaf513a4fdf1c20ddf40474.zip |
mac802154: fix byteorder issues
Running make C=2 occurs these warnings:
cast from restricted __be64
incorrect type in argument 1 (different base types)
expected unsigned long long[unsigned] [usertype] val
got restricted __be64 [usertype]<noident>
cast from restricted __be64
cast to restricted __le64
This patch fix these warnings by forcing to __le64 type and using swabp64
instead swab64.
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Reported-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions