On Mon, Jun 8, 2020 at 3:03 AM kernel test robot <[email protected]> wrote:
> From: kernel test robot <[email protected]> > > 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 <[email protected]> > Signed-off-by: kernel test robot <[email protected]> Patch applied with Andy's ACK. Yours, Linus Walleij

