mirror of
https://github.com/torvalds/linux.git
synced 2024-12-14 23:25:54 +00:00
afd14cef01
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> |
||
---|---|---|
.. | ||
aim-cdev | ||
aim-network | ||
aim-sound | ||
aim-v4l2 | ||
Documentation | ||
hdm-dim2 | ||
hdm-i2c | ||
hdm-usb | ||
mostcore | ||
Kconfig | ||
Makefile | ||
TODO |