diff options
| author | Alexander Aring <[email protected]> | 2014-11-02 21:43:03 +0100 |
|---|---|---|
| committer | Marcel Holtmann <[email protected]> | 2014-11-02 21:52:02 +0100 |
| commit | f753f7eeb4178ab8eeaf513a4fdf1c20ddf40474 (patch) | |
| tree | 97dae5215789bf41c3a862cb05f0efc939ef82f0 /tools/perf/util/annotate.c | |
| parent | c28bee84c5c49312befe1b442e1044ac2392d80d (diff) | |
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 <[email protected]>
Reported-by: Marcel Holtmann <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions