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

From: Guenter Roeck
Date: Wed Jul 29 2015 - 14:38:48 EST


On 07/29/2015 10:51 AM, Moore, Robert wrote:


-----Original Message-----
From: Guenter Roeck [mailto:linux@xxxxxxxxxxxx]
Sent: Monday, July 27, 2015 5:32 PM
To: rjw@xxxxxxxxxxxxx
Cc: lenb@xxxxxxxxxx; Moore, Robert; Zheng, Lv; linux-acpi@xxxxxxxxxxxxxxx;
linux-kernel@xxxxxxxxxxxxxxx; devel@xxxxxxxxxx; 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.

Guenter

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