Re: [PATCH] usb: storage: alauda: Clean up if function returned NULL on failure

From: Greg KH
Date: Tue Sep 27 2016 - 06:45:09 EST


On Tue, Sep 13, 2016 at 10:48:51PM +0530, Amit Ghadge wrote:
> Some functions return NULL on failure, used !x instead of x==NULL.
>
> Signed-off-by: Amit Ghadge <amitg.b14@xxxxxxxxx>
> ---
> drivers/usb/storage/alauda.c | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)

Same mailing list comment here...