Re: [balbi-usb:testing/fixes 2/8] WARNING: simple_strtoul is obsolete, use kstrtoul instead

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 18, 2020 at 5:34 AM kbuild test robot <lkp@xxxxxxxxx> 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@xxxxxxxxx>
>
> 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



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux