From: Alexander Aring Date: Sun, 2 Nov 2014 20:43:03 +0000 (+0100) Subject: mac802154: fix byteorder issues X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~134^2~66^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f753f7eeb4178ab8eeaf513a4fdf1c20ddf40474;p=pandora-kernel.git 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] 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 Reported-by: Marcel Holtmann Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed