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

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

 



On Tue, 18 Jun 2013, Mathias Nyman wrote:

> usb_hub_to_struct_hub() can return NULL in some unlikely cases.
> Add checks where appropriate, or pass the hub pointer as an additional
> argument if it's known to be valid.
> 
> The places it makes sense to check usb_hub_to_struct_hub()
> are picked based on feedback from Alan Stern.

Acked-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>

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