Scroll to navigation

USB_URB_EP_TYPE_CHEC(9) USB Core APIs USB_URB_EP_TYPE_CHEC(9)

NAME

usb_urb_ep_type_check - sanity check of endpoint in the given urb

SYNOPSIS

int usb_urb_ep_type_check(const struct urb * urb);

ARGUMENTS

urb

urb to be checked

DESCRIPTION

This performs a light-weight sanity check for the endpoint in the given urb. It returns 0 if the urb contains a valid endpoint, otherwise a negative error code.

COPYRIGHT

June 2023 Kernel Hackers Manual 3.10