Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers/usb/core/driver: check return value of usb_set_interface()
Check return value of usb_set_interface() and report error if it fails. Otherwise usb_set_interface() may fail without any warnings. This flaw was found using an experimental static analysis tool we are developing. Report warnings when the function usb_set_interface() fails can increase the dianosability. Signed-off-by: Li Zhong <floridsleeves@gmail.com>
- Loading branch information