@@ -945,11 +945,11 @@ config_buf (enum usb_device_speed speed,
945945
946946/*-------------------------------------------------------------------------*/
947947
948- static void eth_start (struct eth_dev * dev , int gfp_flags );
949- static int alloc_requests (struct eth_dev * dev , unsigned n , int gfp_flags );
948+ static void eth_start (struct eth_dev * dev , unsigned gfp_flags );
949+ static int alloc_requests (struct eth_dev * dev , unsigned n , unsigned gfp_flags );
950950
951951static int
952- set_ether_config (struct eth_dev * dev , int gfp_flags )
952+ set_ether_config (struct eth_dev * dev , unsigned gfp_flags )
953953{
954954 int result = 0 ;
955955 struct usb_gadget * gadget = dev -> gadget ;
@@ -1079,7 +1079,7 @@ static void eth_reset_config (struct eth_dev *dev)
10791079 * that returns config descriptors, and altsetting code.
10801080 */
10811081static int
1082- eth_set_config (struct eth_dev * dev , unsigned number , int gfp_flags )
1082+ eth_set_config (struct eth_dev * dev , unsigned number , unsigned gfp_flags )
10831083{
10841084 int result = 0 ;
10851085 struct usb_gadget * gadget = dev -> gadget ;
@@ -1596,7 +1596,7 @@ static void defer_kevent (struct eth_dev *dev, int flag)
15961596static void rx_complete (struct usb_ep * ep , struct usb_request * req );
15971597
15981598static int
1599- rx_submit (struct eth_dev * dev , struct usb_request * req , int gfp_flags )
1599+ rx_submit (struct eth_dev * dev , struct usb_request * req , unsigned gfp_flags )
16001600{
16011601 struct sk_buff * skb ;
16021602 int retval = - ENOMEM ;
@@ -1722,7 +1722,7 @@ static void rx_complete (struct usb_ep *ep, struct usb_request *req)
17221722}
17231723
17241724static int prealloc (struct list_head * list , struct usb_ep * ep ,
1725- unsigned n , int gfp_flags )
1725+ unsigned n , unsigned gfp_flags )
17261726{
17271727 unsigned i ;
17281728 struct usb_request * req ;
@@ -1761,7 +1761,7 @@ static int prealloc (struct list_head *list, struct usb_ep *ep,
17611761 return 0 ;
17621762}
17631763
1764- static int alloc_requests (struct eth_dev * dev , unsigned n , int gfp_flags )
1764+ static int alloc_requests (struct eth_dev * dev , unsigned n , unsigned gfp_flags )
17651765{
17661766 int status ;
17671767
@@ -1777,7 +1777,7 @@ static int alloc_requests (struct eth_dev *dev, unsigned n, int gfp_flags)
17771777 return status ;
17781778}
17791779
1780- static void rx_fill (struct eth_dev * dev , int gfp_flags )
1780+ static void rx_fill (struct eth_dev * dev , unsigned gfp_flags )
17811781{
17821782 struct usb_request * req ;
17831783 unsigned long flags ;
@@ -2022,7 +2022,7 @@ static int rndis_control_ack (struct net_device *net)
20222022
20232023#endif /* RNDIS */
20242024
2025- static void eth_start (struct eth_dev * dev , int gfp_flags )
2025+ static void eth_start (struct eth_dev * dev , unsigned gfp_flags )
20262026{
20272027 DEBUG (dev , "%s\n" , __FUNCTION__ );
20282028
0 commit comments