RE: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul()

2015-11-06 Thread Moore, Robert
> Subject: Re: [PATCH v2] acpi: Use kstrtoul() instead of > strtoul()/simple_strtoul() So, this would fix the issue(s) (in aclinux.h): #define strtoul kstrtoul strtoul is used frequently in with the ACPICA in-kernel AML Debugger: dbcmds.c(188):Address = s

RE: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul()

2015-11-06 Thread Moore, Robert
> Subject: Re: [PATCH v2] acpi: Use kstrtoul() instead of > strtoul()/simple_strtoul() So, this would fix the issue(s) (in aclinux.h): #define strtoul kstrtoul strtoul is used frequently in with the ACPICA in-kernel AML Debugger: dbcmds.c(188):Address = s

Re: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul()

2015-08-02 Thread Guenter Roeck
On 08/02/2015 12:16 AM, Pavel Machek wrote: On Mon 2015-07-27 17:32:22, Guenter Roeck wrote: simple_strtoul() is deprecated; replace with kstrtoul() and kstrtouint(). Return an error if the value passed to the sysfs attribute is not a number. Drop the definition of strtoul() since it is no

Re: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul()

2015-08-02 Thread Pavel Machek
On Mon 2015-07-27 17:32:22, Guenter Roeck wrote: > simple_strtoul() is deprecated; replace with kstrtoul() and kstrtouint(). > Return an error if the value passed to the sysfs attribute is not > a number. > > Drop the definition of strtoul() since it is no longer needed. > > Signed-off-by:

Re: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul()

2015-08-02 Thread Pavel Machek
On Mon 2015-07-27 17:32:22, Guenter Roeck wrote: simple_strtoul() is deprecated; replace with kstrtoul() and kstrtouint(). Return an error if the value passed to the sysfs attribute is not a number. Drop the definition of strtoul() since it is no longer needed. Signed-off-by: Guenter

Re: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul()

2015-08-02 Thread Guenter Roeck
On 08/02/2015 12:16 AM, Pavel Machek wrote: On Mon 2015-07-27 17:32:22, Guenter Roeck wrote: simple_strtoul() is deprecated; replace with kstrtoul() and kstrtouint(). Return an error if the value passed to the sysfs attribute is not a number. Drop the definition of strtoul() since it is no

Re: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul()

2015-07-29 Thread Guenter Roeck
, Robert; r...@rjwysocki.net Cc: l...@kernel.org; Zheng, Lv; linux-a...@vger.kernel.org; linux- ker...@vger.kernel.org; de...@acpica.org Subject: Re: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul() On 07/29/2015 10:51 AM, Moore, Robert wrote: -Original Message- From

Re: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul()

2015-07-29 Thread Rafael J. Wysocki
To: Moore, Robert; r...@rjwysocki.net >>> Cc: l...@kernel.org; Zheng, Lv; linux-a...@vger.kernel.org; linux- >>> ker...@vger.kernel.org; de...@acpica.org >>> Subject: Re: [PATCH v2] acpi: Use kstrtoul() instead of >>> strtoul()/simple_strtoul() >>>

Re: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul()

2015-07-29 Thread Guenter Roeck
...@acpica.org Subject: Re: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul() On 07/29/2015 10:51 AM, Moore, Robert wrote: -Original Message- From: Guenter Roeck [mailto:li...@roeck-us.net] Sent: Monday, July 27, 2015 5:32 PM To: r...@rjwysocki.net Cc: l...@kernel.org

Re: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul()

2015-07-29 Thread Rafael J. Wysocki
t;>> To: r...@rjwysocki.net >>> Cc: l...@kernel.org; Moore, Robert; Zheng, Lv; >>> linux-a...@vger.kernel.org; >>> linux-kernel@vger.kernel.org; de...@acpica.org; Guenter Roeck >>> Subject: [PATCH v2] acpi: Use kstrtoul() instead of >>> str

RE: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul()

2015-07-29 Thread Moore, Robert
27, 2015 5:32 PM > >> To: r...@rjwysocki.net > >> Cc: l...@kernel.org; Moore, Robert; Zheng, Lv; > >> linux-a...@vger.kernel.org; linux-kernel@vger.kernel.org; > >> de...@acpica.org; Guenter Roeck > >> Subject: [PATCH v2] acpi: Use kstrtoul() instead of

Re: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul()

2015-07-29 Thread Guenter Roeck
...@acpica.org; Guenter Roeck Subject: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul() simple_strtoul() is deprecated; replace with kstrtoul() and kstrtouint(). The ACPICA code is os-independent and cannot use these functions (at least not directly). Odd argument, given

RE: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul()

2015-07-29 Thread Moore, Robert
er Roeck > Subject: [PATCH v2] acpi: Use kstrtoul() instead of > strtoul()/simple_strtoul() > > simple_strtoul() is deprecated; replace with kstrtoul() and kstrtouint(). The ACPICA code is os-independent and cannot use these functions (at least not directly). > Return an error

Re: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul()

2015-07-29 Thread Guenter Roeck
AM To: Moore, Robert; r...@rjwysocki.net Cc: l...@kernel.org; Zheng, Lv; linux-a...@vger.kernel.org; linux- ker...@vger.kernel.org; de...@acpica.org Subject: Re: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul() On 07/29/2015 10:51 AM, Moore, Robert wrote: -Original

Re: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul()

2015-07-29 Thread Guenter Roeck
...@acpica.org Subject: Re: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul() On 07/29/2015 10:51 AM, Moore, Robert wrote: -Original Message- From: Guenter Roeck [mailto:li...@roeck-us.net] Sent: Monday, July 27, 2015 5:32 PM To: r...@rjwysocki.net Cc: l...@kernel.org

Re: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul()

2015-07-29 Thread Rafael J. Wysocki
; Moore, Robert; Zheng, Lv; linux-a...@vger.kernel.org; linux-kernel@vger.kernel.org; de...@acpica.org; Guenter Roeck Subject: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul() simple_strtoul() is deprecated; replace with kstrtoul() and kstrtouint(). The ACPICA code is os

RE: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul()

2015-07-29 Thread Moore, Robert
; linux-a...@vger.kernel.org; linux-kernel@vger.kernel.org; de...@acpica.org; Guenter Roeck Subject: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul() simple_strtoul() is deprecated; replace with kstrtoul() and kstrtouint(). The ACPICA code is os-independent

Re: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul()

2015-07-29 Thread Guenter Roeck
...@acpica.org; Guenter Roeck Subject: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul() simple_strtoul() is deprecated; replace with kstrtoul() and kstrtouint(). The ACPICA code is os-independent and cannot use these functions (at least not directly). Odd argument, given

Re: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul()

2015-07-29 Thread Rafael J. Wysocki
...@kernel.org; Zheng, Lv; linux-a...@vger.kernel.org; linux- ker...@vger.kernel.org; de...@acpica.org Subject: Re: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul() On 07/29/2015 10:51 AM, Moore, Robert wrote: -Original Message- From: Guenter Roeck [mailto:li

RE: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul()

2015-07-29 Thread Moore, Robert
] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul() simple_strtoul() is deprecated; replace with kstrtoul() and kstrtouint(). The ACPICA code is os-independent and cannot use these functions (at least not directly). Return an error if the value passed to the sysfs attribute

[PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul()

2015-07-27 Thread Guenter Roeck
simple_strtoul() is deprecated; replace with kstrtoul() and kstrtouint(). Return an error if the value passed to the sysfs attribute is not a number. Drop the definition of strtoul() since it is no longer needed. Signed-off-by: Guenter Roeck --- v2: An additional use of strtoul() was introduced

[PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul()

2015-07-27 Thread Guenter Roeck
simple_strtoul() is deprecated; replace with kstrtoul() and kstrtouint(). Return an error if the value passed to the sysfs attribute is not a number. Drop the definition of strtoul() since it is no longer needed. Signed-off-by: Guenter Roeck li...@roeck-us.net --- v2: An additional use of