[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200127200500.09df903c@cakuba>
Date: Mon, 27 Jan 2020 20:05:00 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Taehee Yoo <ap420073@...il.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org
Subject: Re: [PATCH net v2 4/6] netdevsim: use IS_ERR instead of
IS_ERR_OR_NULL for debugfs
On Mon, 27 Jan 2020 14:30:44 +0000, Taehee Yoo wrote:
> Debugfs APIs return valid pointer or error pointer. it doesn't return NULL.
> So, using IS_ERR is enough, not using IS_ERR_OR_NULL.
>
> Reported-by: kbuild test robot <lkp@...el.com>
> Reported-by: Dan Carpenter <dan.carpenter@...cle.com>
> Signed-off-by: Taehee Yoo <ap420073@...il.com>
Reviewed-by: Jakub Kicinski <kuba@...nel.org>
Powered by blists - more mailing lists