From: Alexander Aring Date: Sun, 2 Nov 2014 20:43:01 +0000 (+0100) Subject: ieee802154: add missing ULL definition X-Git-Tag: v4.14-rc1~6249^2~17^2~6^2~228 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a4164eb4dd3f4f2a22f8bf7b26394e8384f3d9a2;p=platform%2Fkernel%2Flinux-rpi.git ieee802154: add missing ULL definition Running make C=2 occurs warning: constant 0xffffffffffffffff is so big it is unsigned long This patch fix this warning by adding a ULL to the constant definitions. Signed-off-by: Alexander Aring Reported-by: Marcel Holtmann Signed-off-by: Marcel Holtmann --- diff --git a/include/linux/ieee802154.h b/include/linux/ieee802154.h index 9bba5ca..9da7c01 100644 --- a/include/linux/ieee802154.h +++ b/include/linux/ieee802154.h @@ -208,7 +208,8 @@ static inline bool ieee802154_is_valid_extended_addr(const __le64 addr) * This is currently a workaround because neighbor discovery can't * deal with short addresses types right now. */ - return ((addr != 0x0000000000000000) || (addr != 0xffffffffffffffff)); + return ((addr != 0x0000000000000000ULL) || + (addr != 0xffffffffffffffffULL)); } #endif /* LINUX_IEEE802154_H */