Potential USB PHY error handling fix for stable

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

 



Hi,

One of the Linaro stable kernel users has suggested 2c4e3dbf63b39d (usb:
phy: return -ENODEV on failure of try_module_get) as a fix for the
stable kernel.  While it's error handling that's being fixed this does
seem like a reasonable candidate, it's a very simple fix and the
behaviour without the change is to return a NULL pointer rather than an
error pointer which callers will interpret as success which isn't good.

Does this seem reasonable?

Thanks,
Mark

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]