Messages in this thread | | | From | Linus Walleij <> | Date | Wed, 10 Jun 2020 13:09:21 +0200 | 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@intel.com> wrote:
> From: kernel test robot <lkp@intel.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@linux.intel.com> > Signed-off-by: kernel test robot <lkp@intel.com>
Patch applied with Andy's ACK.
Yours, Linus Walleij
| |