Messages in this thread |  | | From | Nobuhiro Iwamatsu <> | Date | Tue, 17 Dec 2019 20:09:28 +0900 | Subject | Re: [PATCH] rtc: pcf8523: fix ptr_ret.cocci warnings |
| |
Hi,
2019年12月17日(火) 8:04 kbuild test robot <lkp@intel.com>: > > From: kbuild test robot <lkp@intel.com> > > drivers/rtc/rtc-pcf8523.c:361: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: 93966243cf90 ("rtc: pcf8523: Remove struct pcf8523") > CC: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> > Signed-off-by: kbuild test robot <lkp@intel.com> Acked-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Best regards, Nobuhiro
|  |