Commit 5e3b724e authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by David S. Miller

net: dsa: b53: Add missing ULL suffix for 64-bit constant

On 32-bit (e.g. with m68k-linux-gnu-gcc-4.1):

    drivers/net/dsa/b53/b53_common.c: In function ‘b53_arl_read’:
    drivers/net/dsa/b53/b53_common.c:1072: warning: integer constant is too large for ‘long’ type

Fixes: 1da6df85 ("net: dsa: b53: Implement ARL add/del/dump operations")
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 94d9f1c5
...@@ -258,7 +258,7 @@ ...@@ -258,7 +258,7 @@
* BCM5325 and BCM5365 share most definitions below * BCM5325 and BCM5365 share most definitions below
*/ */
#define B53_ARLTBL_MAC_VID_ENTRY(n) (0x10 * (n)) #define B53_ARLTBL_MAC_VID_ENTRY(n) (0x10 * (n))
#define ARLTBL_MAC_MASK 0xffffffffffff #define ARLTBL_MAC_MASK 0xffffffffffffULL
#define ARLTBL_VID_S 48 #define ARLTBL_VID_S 48
#define ARLTBL_VID_MASK_25 0xff #define ARLTBL_VID_MASK_25 0xff
#define ARLTBL_VID_MASK 0xfff #define ARLTBL_VID_MASK 0xfff
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment