From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751431Ab2I3LpW (ORCPT ); Sun, 30 Sep 2012 07:45:22 -0400 Received: from mail-bk0-f46.google.com ([209.85.214.46]:59921 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751331Ab2I3Loj (ORCPT ); Sun, 30 Sep 2012 07:44:39 -0400 From: Eldad Zack To: "J. Bruce Fields" Cc: Andrew Morton , Joe Perches , linux-kernel@vger.kernel.org, Rob Landley , linux-doc@vger.kernel.org, Eldad Zack Subject: [PATCH 1/2] kstrto*: add documentation Date: Sun, 30 Sep 2012 13:44:28 +0200 Message-Id: <1349005469-19918-1-git-send-email-eldad@fogrefinery.com> X-Mailer: git-send-email 1.7.8.6 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As J. Bruce Fields pointed out, kstrto* is currently lacking kerneldoc comments. This patch adds kerneldoc comments to common variants of kstrto*: kstrto(u)l, kstrto(u)ll and kstrto(u)int. Cc: J. Bruce Fields Signed-off-by: Eldad Zack --- v2: includes typo fix from Joe Perches , added details as suggested by J. Bruce Fields , added the kstrto* functions to string conversions section in SGML. Documentation/DocBook/kernel-api.tmpl | 3 ++ include/linux/kernel.h | 33 +++++++++++++++++ lib/kstrtox.c | 64 +++++++++++++++++++++++++++++++++ 3 files changed, 100 insertions(+), 0 deletions(-) diff --git a/Documentation/DocBook/kernel-api.tmpl b/Documentation/DocBook/kernel-api.tmpl index 00687ee..f75ab4c 100644 --- a/Documentation/DocBook/kernel-api.tmpl +++ b/Documentation/DocBook/kernel-api.tmpl @@ -58,6 +58,9 @@ String Conversions !Elib/vsprintf.c +!Finclude/linux/kernel.h kstrtol +!Finclude/linux/kernel.h kstrtoul +!Elib/kstrtox.c String Manipulation