Re: [PATCH] isdn/bas_gigaset: use USB API functions rather than constants

2014-08-22 Thread David Miller
From: Himangi Saraogi Date: Sun, 17 Aug 2014 06:01:20 +0530 > This patch introduces the use of the function usb_endpoint_num. > > The Coccinelle semantic patch that makes these changes is as follows: > > @@ struct usb_endpoint_descriptor *epd; @@ > > - (epd->bEndpointAddress & \(USB_ENDPOINT_N

Re: [PATCH] isdn/bas_gigaset: use USB API functions rather than constants

2014-08-17 Thread Tilman Schmidt
Am 17.08.2014 um 02:31 schrieb Himangi Saraogi: > This patch introduces the use of the function usb_endpoint_num. > > The Coccinelle semantic patch that makes these changes is as follows: > > @@ struct usb_endpoint_descriptor *epd; @@ > > - (epd->bEndpointAddress & \(USB_ENDPOINT_NUMBER_MASK\|0x

[PATCH] isdn/bas_gigaset: use USB API functions rather than constants

2014-08-16 Thread Himangi Saraogi
This patch introduces the use of the function usb_endpoint_num. The Coccinelle semantic patch that makes these changes is as follows: @@ struct usb_endpoint_descriptor *epd; @@ - (epd->bEndpointAddress & \(USB_ENDPOINT_NUMBER_MASK\|0x0f\)) + usb_endpoint_num(epd) Signed-off-by: Himangi Saraogi