projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd4f3ae
)
[PATCH] uintptr_t is unsigned long, not u32
author
Al Viro
<viro@ftp.linux.org.uk>
Fri, 9 Feb 2007 16:39:00 +0000
(16:39 +0000)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Fri, 9 Feb 2007 17:14:08 +0000
(09:14 -0800)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/r8169.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/r8169.c
b/drivers/net/r8169.c
index 577babd4c9386559001b725e030f9b56b878a894..5598d86380b430a3853fe613b9a36cda9e022dd2 100644
(file)
--- a/
drivers/net/r8169.c
+++ b/
drivers/net/r8169.c
@@
-2016,7
+2016,7
@@
static int rtl8169_alloc_rx_skb(struct pci_dev *pdev, struct sk_buff **sk_buff,
if (!skb)
goto err_out;
- skb_reserve(skb, (align - 1) & (u
32
)skb->data);
+ skb_reserve(skb, (align - 1) & (u
nsigned long
)skb->data);
*sk_buff = skb;
mapping = pci_map_single(pdev, skb->data, rx_buf_sz,
@@
-2487,7
+2487,7
@@
static inline int rtl8169_try_rx_copy(struct sk_buff **sk_buff, int pkt_size,
skb = dev_alloc_skb(pkt_size + align);
if (skb) {
- skb_reserve(skb, (align - 1) & (u
32
)skb->data);
+ skb_reserve(skb, (align - 1) & (u
nsigned long
)skb->data);
eth_copy_and_sum(skb, sk_buff[0]->data, pkt_size, 0);
*sk_buff = skb;
rtl8169_mark_to_asic(desc, rx_buf_sz);