Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1195457

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

From "Moore, Robert" <robert.moore@intel.com>
Newsgroups linux.kernel
Subject RE: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul()
Date 2015-07-29 21:40 +0200
Message-ID <pRFmN-LX-17@gated-at.bofh.it> (permalink)
References <pR162-1pr-1@gated-at.bofh.it> <pRDO2-6RO-23@gated-at.bofh.it> <pREqK-7Sb-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> -----Original Message-----
> From: Guenter Roeck [mailto:linux@roeck-us.net]
> Sent: Wednesday, July 29, 2015 11:39 AM
> To: Moore, Robert; rjw@rjwysocki.net
> Cc: lenb@kernel.org; Zheng, Lv; linux-acpi@vger.kernel.org; linux-
> kernel@vger.kernel.org; devel@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:linux@roeck-us.net]
> >> Sent: Monday, July 27, 2015 5:32 PM
> >> To: rjw@rjwysocki.net
> >> Cc: lenb@kernel.org; Moore, Robert; Zheng, Lv;
> >> linux-acpi@vger.kernel.org; linux-kernel@vger.kernel.org;
> >> devel@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 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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul() Guenter Roeck <linux@roeck-us.net> - 2015-07-28 02:40 +0200
  RE: [PATCH v2] acpi: Use kstrtoul() instead of  strtoul()/simple_strtoul() "Moore, Robert" <robert.moore@intel.com> - 2015-07-29 21:40 +0200
    Re: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul() Guenter Roeck <linux@roeck-us.net> - 2015-07-29 22:00 +0200
      Re: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul() "Rafael J. Wysocki" <rafael@kernel.org> - 2015-07-29 22:10 +0200
        Re: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul() Guenter Roeck <linux@roeck-us.net> - 2015-07-29 22:40 +0200
  Re: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul() "Rafael J. Wysocki" <rafael@kernel.org> - 2015-07-29 22:00 +0200
  Re: [PATCH v2] acpi: Use kstrtoul() instead of  strtoul()/simple_strtoul() Pavel Machek <pavel@ucw.cz> - 2015-08-02 09:20 +0200
    Re: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul() Guenter Roeck <linux@roeck-us.net> - 2015-08-02 10:30 +0200

csiph-web