Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754095AbbG2Td6 (ORCPT ); Wed, 29 Jul 2015 15:33:58 -0400 Received: from mga09.intel.com ([134.134.136.24]:7169 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752984AbbG2Td4 convert rfc822-to-8bit (ORCPT ); Wed, 29 Jul 2015 15:33:56 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,572,1432623600"; d="scan'208";a="738114608" From: "Moore, Robert" To: Guenter Roeck , "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() Thread-Topic: [PATCH v2] acpi: Use kstrtoul() instead of strtoul()/simple_strtoul() Thread-Index: AQHQyMztf+ceI/y4nUeAvfeVYl+gjJ3yvJGQgACCwID//5klwA== Date: Wed, 29 Jul 2015 19:33:37 +0000 Message-ID: <94F2FBAB4432B54E8AACC7DFDE6C92E37D3294E8@ORSMSX112.amr.corp.intel.com> References: <1438043542-2960-1-git-send-email-linux@roeck-us.net> <94F2FBAB4432B54E8AACC7DFDE6C92E37D329493@ORSMSX112.amr.corp.intel.com> <55B91DAF.3060605@roeck-us.net> In-Reply-To: <55B91DAF.3060605@roeck-us.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.22.254.138] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1460 Lines: 44 > -----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/