Commit 77a2fa0b authored by Andi Kleen's avatar Andi Kleen Committed by Stephen Hemminger

[PATCH] Fix warnings in defxx.c

Fix harmless 64bit warnings in defxx.c
parent c46547e6
...@@ -2664,8 +2664,8 @@ static int dfx_hw_dma_uninit(DFX_board_t *bp, PI_UINT32 type) ...@@ -2664,8 +2664,8 @@ static int dfx_hw_dma_uninit(DFX_board_t *bp, PI_UINT32 type)
static void my_skb_align(struct sk_buff *skb, int n) static void my_skb_align(struct sk_buff *skb, int n)
{ {
u32 x=(u32)skb->data; /* We only want the low bits .. */ unsigned long x=(unsigned long)skb->data;
u32 v; unsigned long v;
v=(x+n-1)&~(n-1); /* Where we want to be */ v=(x+n-1)&~(n-1); /* Where we want to be */
......
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