diff options
author | david-b@pacbell.net <david-b@pacbell.net> | 2005-07-28 23:46:32 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-09-08 19:22:41 -0400 |
commit | 0d9899f8139b1e4ee84b97fb61615714fd40be5b (patch) | |
tree | a405be5b2cf45a32922229cc8f0f2a057db5f787 /drivers/usb/net/usbnet.c | |
parent | 0bc8e009a2d5106183ea31a2b83035e790778cab (diff) |
[PATCH] USB: usbnet and unsigned gfp_flags
This just fixes some gfp flags warnings that joined us recently.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/net/usbnet.c')
-rw-r--r-- | drivers/usb/net/usbnet.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/usb/net/usbnet.c b/drivers/usb/net/usbnet.c index a2f67245f6da..4682696450db 100644 --- a/drivers/usb/net/usbnet.c +++ b/drivers/usb/net/usbnet.c | |||
@@ -252,7 +252,7 @@ struct driver_info { | |||
252 | 252 | ||
253 | /* fixup tx packet (add framing) */ | 253 | /* fixup tx packet (add framing) */ |
254 | struct sk_buff *(*tx_fixup)(struct usbnet *dev, | 254 | struct sk_buff *(*tx_fixup)(struct usbnet *dev, |
255 | struct sk_buff *skb, int flags); | 255 | struct sk_buff *skb, unsigned flags); |
256 | 256 | ||
257 | // FIXME -- also an interrupt mechanism | 257 | // FIXME -- also an interrupt mechanism |
258 | // useful for at least PL2301/2302 and GL620USB-A | 258 | // useful for at least PL2301/2302 and GL620USB-A |
@@ -1144,7 +1144,7 @@ static int ax88772_rx_fixup(struct usbnet *dev, struct sk_buff *skb) | |||
1144 | } | 1144 | } |
1145 | 1145 | ||
1146 | static struct sk_buff *ax88772_tx_fixup(struct usbnet *dev, struct sk_buff *skb, | 1146 | static struct sk_buff *ax88772_tx_fixup(struct usbnet *dev, struct sk_buff *skb, |
1147 | int flags) | 1147 | unsigned flags) |
1148 | { | 1148 | { |
1149 | int padlen; | 1149 | int padlen; |
1150 | int headroom = skb_headroom(skb); | 1150 | int headroom = skb_headroom(skb); |
@@ -1945,7 +1945,7 @@ static int genelink_rx_fixup (struct usbnet *dev, struct sk_buff *skb) | |||
1945 | } | 1945 | } |
1946 | 1946 | ||
1947 | static struct sk_buff * | 1947 | static struct sk_buff * |
1948 | genelink_tx_fixup (struct usbnet *dev, struct sk_buff *skb, int flags) | 1948 | genelink_tx_fixup (struct usbnet *dev, struct sk_buff *skb, unsigned flags) |
1949 | { | 1949 | { |
1950 | int padlen; | 1950 | int padlen; |
1951 | int length = skb->len; | 1951 | int length = skb->len; |
@@ -2468,7 +2468,7 @@ static int net1080_rx_fixup (struct usbnet *dev, struct sk_buff *skb) | |||
2468 | } | 2468 | } |
2469 | 2469 | ||
2470 | static struct sk_buff * | 2470 | static struct sk_buff * |
2471 | net1080_tx_fixup (struct usbnet *dev, struct sk_buff *skb, int flags) | 2471 | net1080_tx_fixup (struct usbnet *dev, struct sk_buff *skb, unsigned flags) |
2472 | { | 2472 | { |
2473 | int padlen; | 2473 | int padlen; |
2474 | struct sk_buff *skb2; | 2474 | struct sk_buff *skb2; |
@@ -2662,7 +2662,7 @@ static const struct driver_info blob_info = { | |||
2662 | *-------------------------------------------------------------------------*/ | 2662 | *-------------------------------------------------------------------------*/ |
2663 | 2663 | ||
2664 | static struct sk_buff * | 2664 | static struct sk_buff * |
2665 | zaurus_tx_fixup (struct usbnet *dev, struct sk_buff *skb, int flags) | 2665 | zaurus_tx_fixup (struct usbnet *dev, struct sk_buff *skb, unsigned flags) |
2666 | { | 2666 | { |
2667 | int padlen; | 2667 | int padlen; |
2668 | struct sk_buff *skb2; | 2668 | struct sk_buff *skb2; |
@@ -2935,7 +2935,7 @@ static void defer_kevent (struct usbnet *dev, int work) | |||
2935 | 2935 | ||
2936 | static void rx_complete (struct urb *urb, struct pt_regs *regs); | 2936 | static void rx_complete (struct urb *urb, struct pt_regs *regs); |
2937 | 2937 | ||
2938 | static void rx_submit (struct usbnet *dev, struct urb *urb, int flags) | 2938 | static void rx_submit (struct usbnet *dev, struct urb *urb, unsigned flags) |
2939 | { | 2939 | { |
2940 | struct sk_buff *skb; | 2940 | struct sk_buff *skb; |
2941 | struct skb_data *entry; | 2941 | struct skb_data *entry; |