[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151015213453.GA77436@DGOODELL-M-F02A.cisco.com>
Date: Thu, 15 Oct 2015 16:34:54 -0500
From: Dave Goodell <dgoodell@...co.com>
To: Insu Yun <wuninsu@...il.com>
Cc: umalhi@...co.com, dledford@...hat.com, sean.hefty@...el.com,
hal.rosenstock@...il.com, linux-rdma@...r.kernel.org,
linux-kernel@...r.kernel.org, taesoo@...ech.edu,
yeongjin.jang@...ech.edu, insu@...ech.edu
Subject: Re: [PATCH] usnic: correctly check failed allocation
On Thu, Oct 15, 2015 at 09:15:15PM +0000, Insu Yun wrote:
> Since ib_alloc_device returns allocated memory address, not error,
> it should be checked as IS_NULL, not IS_ERR_OR_NULL.
>
> Signed-off-by: Insu Yun <wuninsu@...il.com>
Reviewed-by: Dave Goodell <dgoodell@...co.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists