[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201106065217.GE697514@kroah.com>
Date: Fri, 6 Nov 2020 07:52:17 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Wang Qing <wangqing@...o.com>
Cc: Felipe Balbi <balbi@...nel.org>, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] usb: Use IS_ERR_OR_NULL() instead of IS_ERR()
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
Powered by blists - more mailing lists