[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdaOcaf2W6-sbULK_FogHg=1YYn0_sUsuHZUEafPLP_MPA@mail.gmail.com>
Date: Wed, 10 Jun 2020 13:09:21 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: kernel test robot <lkp@...el.com>
Cc: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
kbuild-all@...ts.01.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>
Subject: Re: [PATCH] pinctrl: mcp23s08: Split to three parts: fix
ptr_ret.cocci warnings
On Mon, Jun 8, 2020 at 3:03 AM kernel test robot <lkp@...el.com> wrote:
> From: kernel test robot <lkp@...el.com>
>
> drivers/pinctrl/pinctrl-mcp23s08_spi.c:129:1-3: WARNING: PTR_ERR_OR_ZERO can be used
>
>
> Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR
>
> Generated by: scripts/coccinelle/api/ptr_ret.cocci
>
> Fixes: 0f04a81784fe ("pinctrl: mcp23s08: Split to three parts: core, I涎, SPI")
> CC: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
> Signed-off-by: kernel test robot <lkp@...el.com>
Patch applied with Andy's ACK.
Yours,
Linus Walleij
Powered by blists - more mailing lists