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
__usb_find_phy may return NULL, so we should use IS_ERR_OR_NULL()
Signed-off-by: Wang Qing
---
drivers/usb/phy/phy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/phy/phy.c b/drivers/usb/phy/phy.c
index de21967..60c5ea4 100755
--- a/drivers/usb/phy/phy.c
+++ b/d
2 matches
Mail list logo