On Fri, Nov 06, 2020 at 11:31:18AM +0800, Wang Qing wrote: > __usb_find_phy may return NULL, so we should use IS_ERR_OR_NULL() Again with the subject line, "USB: phy: ..." And are you sure this function can return NULL? thanks, greg k-h
On Fri, Nov 06, 2020 at 11:31:18AM +0800, Wang Qing wrote: > __usb_find_phy may return NULL, so we should use IS_ERR_OR_NULL() Again with the subject line, "USB: phy: ..." And are you sure this function can return NULL? thanks, greg k-h