Files
linux/drivers
Sandhya Bankar afd14cef01 Staging: most: Use usb_endpoint_dir_in(endpoint) instead of (endpoint->bEndpointAddress & USB_DIR_IN).
Use usb_endpoint_dir_in(endpoint) instead of (endpoint->bEndpointAddress & USB_DIR_IN) to check if the endpoint has IN direction.
This correction is based on following semantic patch,

@@
struct usb_endpoint_descriptor *endpoint;
expression E;
@@

(
- endpoint->bEndpointAddress & USB_DIR_IN
+ usb_endpoint_dir_in(endpoint)
|
- endpoint->bEndpointAddress == USB_DIR_IN
+ usb_endpoint_dir_in(endpoint)
|
- (endpoint->bEndpointAddress & E) == USB_DIR_IN
+ usb_endpoint_dir_in(endpoint)
)

Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-03-10 19:26:05 -08:00
..
…
2016-03-01 16:10:45 -08:00
2016-02-10 11:35:55 -05:00
2015-12-29 15:32:24 -05:00
2016-02-14 14:25:59 -08:00
2016-03-01 16:10:45 -08:00
…
…
2016-01-01 18:31:34 +01:00
…
2015-12-21 11:44:00 +09:00
…
…
…
2016-01-12 12:17:28 +01:00
…
2016-02-23 17:17:20 -08:00
2016-02-12 08:10:31 -07:00
2016-02-14 14:25:59 -08:00
2016-01-22 18:04:28 -05:00
2016-01-20 17:09:18 -08:00
2016-01-03 16:32:59 -08:00
…
2016-01-12 01:12:40 +01:00
…
…
2016-01-20 17:09:18 -08:00
…
2015-12-12 08:53:21 +01:00
2016-02-17 09:24:07 +01:00
…
…
…
…
…
…
2016-02-07 23:17:59 -08:00
…
…