Re: [PATCH] reboot: fix parsing of reboot cpu number

2020-10-16 Thread Matteo Croce
On Fri, Oct 16, 2020 at 2:20 PM Petr Mladek wrote: > > On Wed 2020-10-14 23:27:46, Matteo Croce wrote: > > From: Matteo Croce > > > > The kernel cmdline reboot= argument allows to specify the CPU used > > for rebooting, with the syntax `s` among the other flags, e.g. > > > > reboot=soft,s4

Re: [PATCH] reboot: fix parsing of reboot cpu number

2020-10-16 Thread Petr Mladek
On Wed 2020-10-14 23:27:46, Matteo Croce wrote: > From: Matteo Croce > > The kernel cmdline reboot= argument allows to specify the CPU used > for rebooting, with the syntax `s` among the other flags, e.g. > > reboot=soft,s4 > reboot=warm,s31,force > > In the early days the parsing was d

[PATCH] reboot: fix parsing of reboot cpu number

2020-10-14 Thread Matteo Croce
From: Matteo Croce The kernel cmdline reboot= argument allows to specify the CPU used for rebooting, with the syntax `s` among the other flags, e.g. reboot=soft,s4 reboot=warm,s31,force In the early days the parsing was done with simple_strtoul(), later deprecated in favor of the safer