[RFC v2 0/1] usb: check usb_hub_to_struct_hub() return value

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

 



This is a separate patch that addresses the feedback Alan Stern gave on
patch "[6/6] usb: check usb_hub_to_struct_hub() return value"
from the series "[RFC 0/6] xHCI and USB security bug fixes"

Original patch was dropped from later versions of the series

Changes since v1::
- removed checks where not needed
- pass additional hub pointer argument to usb_hub_set_port_power()

Mathias Nyman (1):
  usb: check usb_hub_to_struct_hub() return value

 drivers/usb/core/hub.c  |   23 ++++++++++++++++-------
 drivers/usb/core/hub.h  |    2 +-
 drivers/usb/core/port.c |    4 ++--
 3 files changed, 19 insertions(+), 10 deletions(-)

-- 
1.7.4.1

--
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