diff options
author | Alexander Aring <alex.aring@gmail.com> | 2014-11-02 23:43:03 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-11-02 23:52:02 +0300 |
commit | f753f7eeb4178ab8eeaf513a4fdf1c20ddf40474 (patch) | |
tree | 97dae5215789bf41c3a862cb05f0efc939ef82f0 /net/ieee802154 | |
parent | c28bee84c5c49312befe1b442e1044ac2392d80d (diff) | |
download | linux-f753f7eeb4178ab8eeaf513a4fdf1c20ddf40474.tar.xz |
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 'net/ieee802154')
0 files changed, 0 insertions, 0 deletions