[PATCH 0/2 v3] Various fixes for the dummy_hcd driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



These two patches fix some minor issues in the dummy_hcd driver. Both 
errors were detected with the help of coverity analysis.

These patches have been updated based on Alan Sterns comments.

For the first patch I have harmonized both occurences of the different
clean-up routine as suggested. And the correct one this time.

The second patch should now finally have the correct test. 

Thank you Alan for your patience, I should really not make patches late at night.

Philippe De Swert (2):
  usb:gadget:dummy_hcd : Avoid infinite loop
  usb:gadget:dummy_hcd : Detect port and link state correctly to avoid
    unreachable code

 drivers/usb/gadget/dummy_hcd.c | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

-- 
1.8.1.2

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux