@@ -945,11 +945,11 @@ config_buf (enum usb_device_speed speed,
945945
946946/*-------------------------------------------------------------------------*/
947947
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 );
948+ static void eth_start (struct eth_dev * dev , gfp_t gfp_flags );
949+ static int alloc_requests (struct eth_dev * dev , unsigned n , gfp_t gfp_flags );
950950
951951static int
952- set_ether_config (struct eth_dev * dev , unsigned gfp_flags )
952+ set_ether_config (struct eth_dev * dev , gfp_t gfp_flags )
953953{
954954 int result = 0 ;
955955 struct usb_gadget * gadget = dev -> gadget ;
@@ -1081,7 +1081,7 @@ static void eth_reset_config (struct eth_dev *dev)
10811081 * that returns config descriptors, and altsetting code.
10821082 */
10831083static int
1084- eth_set_config (struct eth_dev * dev , unsigned number , unsigned gfp_flags )
1084+ eth_set_config (struct eth_dev * dev , unsigned number , gfp_t gfp_flags )
10851085{
10861086 int result = 0 ;
10871087 struct usb_gadget * gadget = dev -> gadget ;
@@ -1598,7 +1598,7 @@ static void defer_kevent (struct eth_dev *dev, int flag)
15981598static void rx_complete (struct usb_ep * ep , struct usb_request * req );
15991599
16001600static int
1601- rx_submit (struct eth_dev * dev , struct usb_request * req , unsigned gfp_flags )
1601+ rx_submit (struct eth_dev * dev , struct usb_request * req , gfp_t gfp_flags )
16021602{
16031603 struct sk_buff * skb ;
16041604 int retval = - ENOMEM ;
@@ -1724,7 +1724,7 @@ static void rx_complete (struct usb_ep *ep, struct usb_request *req)
17241724}
17251725
17261726static int prealloc (struct list_head * list , struct usb_ep * ep ,
1727- unsigned n , unsigned gfp_flags )
1727+ unsigned n , gfp_t gfp_flags )
17281728{
17291729 unsigned i ;
17301730 struct usb_request * req ;
@@ -1763,7 +1763,7 @@ static int prealloc (struct list_head *list, struct usb_ep *ep,
17631763 return 0 ;
17641764}
17651765
1766- static int alloc_requests (struct eth_dev * dev , unsigned n , unsigned gfp_flags )
1766+ static int alloc_requests (struct eth_dev * dev , unsigned n , gfp_t gfp_flags )
17671767{
17681768 int status ;
17691769
@@ -1779,7 +1779,7 @@ static int alloc_requests (struct eth_dev *dev, unsigned n, unsigned gfp_flags)
17791779 return status ;
17801780}
17811781
1782- static void rx_fill (struct eth_dev * dev , unsigned gfp_flags )
1782+ static void rx_fill (struct eth_dev * dev , gfp_t gfp_flags )
17831783{
17841784 struct usb_request * req ;
17851785 unsigned long flags ;
@@ -1962,7 +1962,7 @@ static int eth_start_xmit (struct sk_buff *skb, struct net_device *net)
19621962 * normally just one notification will be queued.
19631963 */
19641964
1965- static struct usb_request * eth_req_alloc (struct usb_ep * , unsigned , unsigned );
1965+ static struct usb_request * eth_req_alloc (struct usb_ep * , unsigned , gfp_t );
19661966static void eth_req_free (struct usb_ep * ep , struct usb_request * req );
19671967
19681968static void
@@ -2024,7 +2024,7 @@ static int rndis_control_ack (struct net_device *net)
20242024
20252025#endif /* RNDIS */
20262026
2027- static void eth_start (struct eth_dev * dev , unsigned gfp_flags )
2027+ static void eth_start (struct eth_dev * dev , gfp_t gfp_flags )
20282028{
20292029 DEBUG (dev , "%s\n" , __FUNCTION__ );
20302030
@@ -2092,7 +2092,7 @@ static int eth_stop (struct net_device *net)
20922092/*-------------------------------------------------------------------------*/
20932093
20942094static struct usb_request *
2095- eth_req_alloc (struct usb_ep * ep , unsigned size , unsigned gfp_flags )
2095+ eth_req_alloc (struct usb_ep * ep , unsigned size , gfp_t gfp_flags )
20962096{
20972097 struct usb_request * req ;
20982098
0 commit comments