Linux-OMAP Archive on lore.kernel.org
 help / color / Atom feed
* [balbi-usb:testing/fixes 2/8] WARNING: simple_strtoul is obsolete, use kstrtoul instead
@ 2020-05-18  3:33 kbuild test robot
  2020-05-18 14:16 ` Andrey Konovalov
  0 siblings, 1 reply; 3+ messages in thread
From: kbuild test robot @ 2020-05-18  3:33 UTC (permalink / raw)
  To: Andrey Konovalov; +Cc: kbuild-all, linux-usb, linux-omap, Felipe Balbi

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git testing/fixes
head:   172b14b48ca10b280482b164506892ea09edb946
commit: 97df5e5758f7d1dd0ca97e3210696818fc45bdb3 [2/8] usb: raw-gadget: fix gadget endpoint selection

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>

scripts/checkpatch.pl 0001-usb-raw-gadget-fix-gadget-endpoint-selection.patch
# many are suggestions rather than must-fix

WARNING: simple_strtoul is obsolete, use kstrtoul instead
#123: drivers/usb/gadget/legacy/raw_gadget.c:261:
+		return simple_strtoul(&name[2], NULL, 10);

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [balbi-usb:testing/fixes 2/8] WARNING: simple_strtoul is obsolete, use kstrtoul instead
  2020-05-18  3:33 [balbi-usb:testing/fixes 2/8] WARNING: simple_strtoul is obsolete, use kstrtoul instead kbuild test robot
@ 2020-05-18 14:16 ` Andrey Konovalov
  2020-05-18 14:59   ` [kbuild-all] " Philip Li
  0 siblings, 1 reply; 3+ messages in thread
From: Andrey Konovalov @ 2020-05-18 14:16 UTC (permalink / raw)
  To: kbuild test robot; +Cc: kbuild-all, USB list, linux-omap, Felipe Balbi

On Mon, May 18, 2020 at 5:34 AM kbuild test robot <lkp@intel.com> wrote:
>
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git testing/fixes
> head:   172b14b48ca10b280482b164506892ea09edb946
> commit: 97df5e5758f7d1dd0ca97e3210696818fc45bdb3 [2/8] usb: raw-gadget: fix gadget endpoint selection
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kbuild test robot <lkp@intel.com>
>
> scripts/checkpatch.pl 0001-usb-raw-gadget-fix-gadget-endpoint-selection.patch
> # many are suggestions rather than must-fix
>
> WARNING: simple_strtoul is obsolete, use kstrtoul instead
> #123: drivers/usb/gadget/legacy/raw_gadget.c:261:
> +               return simple_strtoul(&name[2], NULL, 10);

The use of simple_strtoul() is intended here and falls under [1]. I'm
not sure if we need to explain this to kbuild test robot somehow.

[1] https://elixir.bootlin.com/linux/v5.7-rc5/source/include/linux/kernel.h#L459

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [kbuild-all] Re: [balbi-usb:testing/fixes 2/8] WARNING: simple_strtoul is obsolete, use kstrtoul instead
  2020-05-18 14:16 ` Andrey Konovalov
@ 2020-05-18 14:59   ` Philip Li
  0 siblings, 0 replies; 3+ messages in thread
From: Philip Li @ 2020-05-18 14:59 UTC (permalink / raw)
  To: Andrey Konovalov
  Cc: kbuild test robot, kbuild-all, USB list, linux-omap, Felipe Balbi

On Mon, May 18, 2020 at 04:16:25PM +0200, Andrey Konovalov wrote:
> On Mon, May 18, 2020 at 5:34 AM kbuild test robot <lkp@intel.com> wrote:
> >
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git testing/fixes
> > head:   172b14b48ca10b280482b164506892ea09edb946
> > commit: 97df5e5758f7d1dd0ca97e3210696818fc45bdb3 [2/8] usb: raw-gadget: fix gadget endpoint selection
> >
> > If you fix the issue, kindly add following tag as appropriate
> > Reported-by: kbuild test robot <lkp@intel.com>
> >
> > scripts/checkpatch.pl 0001-usb-raw-gadget-fix-gadget-endpoint-selection.patch
> > # many are suggestions rather than must-fix
> >
> > WARNING: simple_strtoul is obsolete, use kstrtoul instead
> > #123: drivers/usb/gadget/legacy/raw_gadget.c:261:
> > +               return simple_strtoul(&name[2], NULL, 10);
> 
> The use of simple_strtoul() is intended here and falls under [1]. I'm
> not sure if we need to explain this to kbuild test robot somehow.
thanks for the info, we will be careful for this WARNING in future. Sorry
for the wrong report.

> 
> [1] https://elixir.bootlin.com/linux/v5.7-rc5/source/include/linux/kernel.h#L459
> _______________________________________________
> kbuild-all mailing list -- kbuild-all@lists.01.org
> To unsubscribe send an email to kbuild-all-leave@lists.01.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-18  3:33 [balbi-usb:testing/fixes 2/8] WARNING: simple_strtoul is obsolete, use kstrtoul instead kbuild test robot
2020-05-18 14:16 ` Andrey Konovalov
2020-05-18 14:59   ` [kbuild-all] " Philip Li

Linux-OMAP Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-omap/0 linux-omap/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-omap linux-omap/ https://lore.kernel.org/linux-omap \
		linux-omap@vger.kernel.org
	public-inbox-index linux-omap

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-omap


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git