Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1536062pxb; Thu, 28 Jan 2021 21:04:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJyianNsgcMUntFYHrdApTVBjZlafuDrIjsfV0CYVjw/uTEhvjRdJNMSiCkGhysEZBPHXgh4 X-Received: by 2002:a17:906:6d44:: with SMTP id a4mr2912213ejt.453.1611896694568; Thu, 28 Jan 2021 21:04:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611896694; cv=none; d=google.com; s=arc-20160816; b=W1NGXwMGMxWiskNvTZpMdfvL5fSxAIcbplvt7UZiI2ZaMkSkJByQ0PwjICwk8Suvtx vWj8CJD30mAk1ijdF+9yQ7PfSWwyULOMlxORETuwBPph7wtScwnuPMf9lWWe/uGWp8s/ i6VcS9GjE9PDyZBo4iDnjFo6foT3vHxTZSKhLNJb7RVw0RoSiLjIBV8iKd5+OU7Q7h6R HK9J7iki36JMF+KII5cO8X4uMzSnvgUZqBx6h+zABlH+WRFPe7QrGbweo8cgjmOkqisu GqVZ0f2G1tVlNhNLPvbvN+2SyU/QNOEcvXvDjmLzV+yByselp0KAT3D+/9w5sQ5oP+9y yH+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=nsNNM8J5NQhmctZu6qVdaoMycxWfsoiMypgt3ufUPrY=; b=c2fWsTcoV0kpRkyDFWbf0QcKX297Mj5AZx+PDOwJZhinZ5eR1xSvErfwVgp+rnQBwn DTyjOWDNF7NKXfX+bqg1Vh5sbGSu35hZWAN44Z7RspZ+YbIR8Xw+um0/BVRbuwNlSZZW RLfTv+aqgPhR9i5R38cW0g/Y9WsPbJEFdjVUB3pDwt0xmyInE6p8njB2IC6Xkonm+VXM tzLQDBf6YgoSekwky6E+LJfqmCwZrib3nzb++UdiCMDqDs8CBytPdrggsI/yJO7rOg5+ dXMZ1yPUXW8ZtXLusQJE9iVFnnPIUY7ngDf8wWTgU64oyaxrV4q5D8qpzBmSw6DPY6rZ Rlgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synology.com header.s=123 header.b=l2yvupBN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=synology.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d6si4336516edz.273.2021.01.28.21.04.30; Thu, 28 Jan 2021 21:04:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@synology.com header.s=123 header.b=l2yvupBN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=synology.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229921AbhA2FB0 (ORCPT + 99 others); Fri, 29 Jan 2021 00:01:26 -0500 Received: from mail.synology.com ([211.23.38.101]:52824 "EHLO synology.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229461AbhA2FB0 (ORCPT ); Fri, 29 Jan 2021 00:01:26 -0500 Received: from localhost.localdomain (unknown [10.17.36.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by synology.com (Postfix) with ESMTPSA id D9EE5CE781DE; Fri, 29 Jan 2021 13:00:44 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synology.com; s=123; t=1611896445; bh=308sfgn1GWDHCkC2JeXOdBhC7ljH0Q25kX54VwQ6jyQ=; h=From:To:Cc:Subject:Date; b=l2yvupBNNOQUR51Ai3GKidSZNgYxTg8C+v41d1yQjWnaFhppQvlNf98x62jSmG0XB 1kxj77eKEsMQm9i0x4sNCFwWEp5WdGoL5jr3uRYjTVV7a6NBynlVPiXyUWCKcPLHXA jqu/2acnl3Xwm0uOW0MAA4f6SBH01OFFAsSIaspQ= From: bingjingc To: kuba@kernel.org, linux-kernel@vger.kernel.org Cc: rdunlap@infradead.org, jack@suse.cz, bingjingc@synology.com Subject: [PATCH] parser: Fix kernel-doc markups Date: Fri, 29 Jan 2021 13:00:37 +0800 Message-Id: <20210129050037.10722-1-bingjingc@synology.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Synology-MCP-Status: no X-Synology-Spam-Flag: no X-Synology-Spam-Status: score=0, required 6, WHITELIST_FROM_ADDRESS 0 X-Synology-Virus-Status: no Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: BingJing Chang Fix existing issues at the kernel-doc markups Signed-off-by: BingJing Chang --- lib/parser.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/lib/parser.c b/lib/parser.c index f5b3e5d..763acd7 100644 --- a/lib/parser.c +++ b/lib/parser.c @@ -11,7 +11,7 @@ #include /** - * match_one: - Determines if a string matches a simple pattern + * match_one - Determines if a string matches a simple pattern * @s: the string to examine for presence of the pattern * @p: the string containing the pattern * @args: array of %MAX_OPT_ARGS &substring_t elements. Used to return match @@ -89,7 +89,7 @@ static int match_one(char *s, const char *p, substring_t args[]) } /** - * match_token: - Find a token (and optional args) in a string + * match_token - Find a token (and optional args) in a string * @s: the string to examine for token/argument pairs * @table: match_table_t describing the set of allowed option tokens and the * arguments that may be associated with them. Must be terminated with a @@ -114,7 +114,7 @@ int match_token(char *s, const match_table_t table, substring_t args[]) EXPORT_SYMBOL(match_token); /** - * match_number: scan a number in the given base from a substring_t + * match_number - scan a number in the given base from a substring_t * @s: substring to be scanned * @result: resulting integer on success * @base: base to use when converting string @@ -147,7 +147,7 @@ static int match_number(substring_t *s, int *result, int base) } /** - * match_u64int: scan a number in the given base from a substring_t + * match_u64int - scan a number in the given base from a substring_t * @s: substring to be scanned * @result: resulting u64 on success * @base: base to use when converting string @@ -174,7 +174,7 @@ static int match_u64int(substring_t *s, u64 *result, int base) } /** - * match_int: - scan a decimal representation of an integer from a substring_t + * match_int - scan a decimal representation of an integer from a substring_t * @s: substring_t to be scanned * @result: resulting integer on success * @@ -189,7 +189,7 @@ int match_int(substring_t *s, int *result) EXPORT_SYMBOL(match_int); /** - * match_u64: - scan a decimal representation of a u64 from + * match_u64 - scan a decimal representation of a u64 from * a substring_t * @s: substring_t to be scanned * @result: resulting unsigned long long on success @@ -206,7 +206,7 @@ int match_u64(substring_t *s, u64 *result) EXPORT_SYMBOL(match_u64); /** - * match_octal: - scan an octal representation of an integer from a substring_t + * match_octal - scan an octal representation of an integer from a substring_t * @s: substring_t to be scanned * @result: resulting integer on success * @@ -221,7 +221,7 @@ int match_octal(substring_t *s, int *result) EXPORT_SYMBOL(match_octal); /** - * match_hex: - scan a hex representation of an integer from a substring_t + * match_hex - scan a hex representation of an integer from a substring_t * @s: substring_t to be scanned * @result: resulting integer on success * @@ -236,7 +236,7 @@ int match_hex(substring_t *s, int *result) EXPORT_SYMBOL(match_hex); /** - * match_wildcard: - parse if a string matches given wildcard pattern + * match_wildcard - parse if a string matches given wildcard pattern * @pattern: wildcard pattern * @str: the string to be parsed * @@ -287,7 +287,7 @@ bool match_wildcard(const char *pattern, const char *str) EXPORT_SYMBOL(match_wildcard); /** - * match_strlcpy: - Copy the characters from a substring_t to a sized buffer + * match_strlcpy - Copy the characters from a substring_t to a sized buffer * @dest: where to copy to * @src: &substring_t to copy * @size: size of destination buffer @@ -310,7 +310,7 @@ size_t match_strlcpy(char *dest, const substring_t *src, size_t size) EXPORT_SYMBOL(match_strlcpy); /** - * match_strdup: - allocate a new string with the contents of a substring_t + * match_strdup - allocate a new string with the contents of a substring_t * @s: &substring_t to copy * * Description: Allocates and returns a string filled with the contents of -- 2.7.4