Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1662160ybv; Fri, 21 Feb 2020 01:13:41 -0800 (PST) X-Google-Smtp-Source: APXvYqzfLPgBnSyxw3roSuFsOjRLBDw0qEF6SLzqonvNGUKRD25qn/eXctIYb7ICHVN05ThC2hVT X-Received: by 2002:a05:6830:1e95:: with SMTP id n21mr28165790otr.25.1582276420943; Fri, 21 Feb 2020 01:13:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582276420; cv=none; d=google.com; s=arc-20160816; b=xLaIkDQaxXZbb+YW2I98/kHfF9bRJlMfXr728LOr0nubb0e9gEvZO1A0EIrqvVWNV8 BJxvK0YKJeeWVo/vr+E8ePvkf0VU0LJkcWK35pQ1cozet7iNiBny+o/mJRLW9/nBm9SE n80l3cdc4JKZrB4njhDN7+GRERVclJszwG/xTfx/5gRM3y0lfiwU/LbNzjl8t4HArXAu bvSUDy1ts+sd2a+XInWc03vl57m3MrAGCVS5H3lE+QXq3kGLbyzoqRdbsPc5gEcZk4aa gz+uMdqSrFLE5zj4ZATs42XYQvJX6aZmikexT3C3C9BIyDg4O84yB73a11yT54IYu5qJ O2RA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=wbcQ64Eg/J7DpquwpZN+OgQZxHlZ4csUCEuG3C2pphE=; b=lw66Moafi2s+dYTEvdWNYOnAf09+XzqgHNVmiS2RpKExUXsU9sBf7Xs8pcyh9vXiEO apsaT+l4gzgUOnF1iJdoBpVCieu78gDROfME6gmI8214SUZQkEZIwNz1zOrwePu5djgV LXYn2U9oyCn7p9qsF8WTxOA39rd2C44x9lp1M1XLIvy3kEKBXY5YK8yxZHWdrPal935R UKzKxKffADKkTmNftDX1UodPyZEnhNzzurK8FdgzMDbgy9EHDv7wSe72srwJbmYe4fmd X24J8ynIUirJ1xbsDfQwmXiAOAqbicKgwmh2UYwk4EbuTSwMwc3yYCb47f5EaFuIXmkU IVsw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n203si435035oia.112.2020.02.21.01.13.28; Fri, 21 Feb 2020 01:13:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728235AbgBUI53 (ORCPT + 99 others); Fri, 21 Feb 2020 03:57:29 -0500 Received: from mga12.intel.com ([192.55.52.136]:24941 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728063AbgBUI52 (ORCPT ); Fri, 21 Feb 2020 03:57:28 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Feb 2020 00:57:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,467,1574150400"; d="scan'208";a="409077690" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga005.jf.intel.com with ESMTP; 21 Feb 2020 00:57:25 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id 222F194; Fri, 21 Feb 2020 10:57:23 +0200 (EET) From: Andy Shevchenko To: Petr Mladek , Steven Rostedt , Sergey Senozhatsky , linux-kernel@vger.kernel.org, Rasmus Villemoes Cc: Andy Shevchenko , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Subject: [PATCH v1] lib/vsprintf: update comment about simple_strto() functions Date: Fri, 21 Feb 2020 10:57:23 +0200 Message-Id: <20200221085723.42469-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The commit 885e68e8b7b1 ("kernel.h: update comment about simple_strto() functions") updated a comment regard to simple_strto() functions, but missed similar change in the vsprintf.c module. Update comments in vsprintf.c as well for simple_strto() functions. Reported-by: Uwe Kleine-König Signed-off-by: Andy Shevchenko --- lib/vsprintf.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/vsprintf.c b/lib/vsprintf.c index 7c488a1ce318..d5641a217685 100644 --- a/lib/vsprintf.c +++ b/lib/vsprintf.c @@ -58,7 +58,7 @@ * @endp: A pointer to the end of the parsed string will be placed here * @base: The number base to use * - * This function is obsolete. Please use kstrtoull instead. + * This function has caveats. Please use kstrtoull instead. */ unsigned long long simple_strtoull(const char *cp, char **endp, unsigned int base) { @@ -83,7 +83,7 @@ EXPORT_SYMBOL(simple_strtoull); * @endp: A pointer to the end of the parsed string will be placed here * @base: The number base to use * - * This function is obsolete. Please use kstrtoul instead. + * This function has caveats. Please use kstrtoul instead. */ unsigned long simple_strtoul(const char *cp, char **endp, unsigned int base) { @@ -97,7 +97,7 @@ EXPORT_SYMBOL(simple_strtoul); * @endp: A pointer to the end of the parsed string will be placed here * @base: The number base to use * - * This function is obsolete. Please use kstrtol instead. + * This function has caveats. Please use kstrtol instead. */ long simple_strtol(const char *cp, char **endp, unsigned int base) { @@ -114,7 +114,7 @@ EXPORT_SYMBOL(simple_strtol); * @endp: A pointer to the end of the parsed string will be placed here * @base: The number base to use * - * This function is obsolete. Please use kstrtoll instead. + * This function has caveats. Please use kstrtoll instead. */ long long simple_strtoll(const char *cp, char **endp, unsigned int base) { -- 2.25.0