> -----Original Message-----
> From: Guenter Roeck [mailto:[email protected]]
> Sent: Wednesday, July 29, 2015 11:39 AM
> To: Moore, Robert; [email protected]
> Cc: [email protected]; Zheng, Lv; [email protected]; linux-
> [email protected]; [email protected]
> 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:[email protected]]
> >> Sent: Monday, July 27, 2015 5:32 PM
> >> To: [email protected]
> >> Cc: [email protected]; Moore, Robert; Zheng, Lv;
> >> [email protected]; [email protected];
> >> [email protected]; 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 that kstrtoul() is used already in the acpi code.

They are not in the os-independent ACPICA code. The ACPI-related drivers are 
another story, since they are OS-dendent.




> 
> Guenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to