提交 ca7e235f 编写于 作者: O Olof Johansson 提交者: David S. Miller

pasemi_mac: flags as passed to spin_*_irqsave() should be unsigned long

pasemi_mac: flags as passed to spin_*_irqsave() should be unsigned long.
Signed-off-by: NTony Breeds <tony@bakeyournoodle.com>
Signed-off-by: NOlof Johansson <olof@lixom.net>
Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 6a290e3d
......@@ -552,7 +552,7 @@ static int pasemi_mac_clean_tx(struct pasemi_mac *mac)
struct pas_dma_xct_descr *dp;
unsigned int start, count, limit;
unsigned int total_count;
int flags;
unsigned long flags;
struct sk_buff *skbs[32];
dma_addr_t dmas[32];
......@@ -973,7 +973,7 @@ static int pasemi_mac_start_tx(struct sk_buff *skb, struct net_device *dev)
struct pas_dma_xct_descr *dp;
u64 dflags, mactx, ptr;
dma_addr_t map;
int flags;
unsigned long flags;
dflags = XCT_MACTX_O | XCT_MACTX_ST | XCT_MACTX_SS | XCT_MACTX_CRC_PAD;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册