From patchwork Fri Nov 1 16:42:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andr=C3=A9_Almeida?= X-Patchwork-Id: 13859592 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 28C67E6F06E for ; Fri, 1 Nov 2024 16:43:28 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id AC2A06B0085; Fri, 1 Nov 2024 12:43:27 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A72966B0088; Fri, 1 Nov 2024 12:43:27 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 911EC6B0089; Fri, 1 Nov 2024 12:43:27 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 740206B0085 for ; Fri, 1 Nov 2024 12:43:27 -0400 (EDT) Received: from smtpin21.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 1E431120A31 for ; Fri, 1 Nov 2024 16:43:27 +0000 (UTC) X-FDA: 82738095930.21.C0B9677 Received: from fanzine2.igalia.com (fanzine.igalia.com [178.60.130.6]) by imf21.hostedemail.com (Postfix) with ESMTP id 6C3A81C000A for ; Fri, 1 Nov 2024 16:42:31 +0000 (UTC) Authentication-Results: imf21.hostedemail.com; dkim=pass header.d=igalia.com header.s=20170329 header.b=dNs6y88V; spf=pass (imf21.hostedemail.com: domain of andrealmeid@igalia.com designates 178.60.130.6 as permitted sender) smtp.mailfrom=andrealmeid@igalia.com; dmarc=pass (policy=none) header.from=igalia.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1730479323; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=8swRcMqa/BS2pXAGjnNhVyXxuHalIiMIO71jJmsFBEs=; b=Q72kIJq/cr31S+a0LjaXlzlgRyyLtBHGjixze4b2caeepxLd49c4QtTjqhQr+IL8oX04ZS UdvuBrss2c2sg4su3VurWaAYp50GRjnvW4VCa7PtbQ3+rN5TKpk4/yMo6kmyfnso4dM9UU OCDEBimG/Sy7FNnQAGyZEsU21wOiCec= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1730479323; a=rsa-sha256; cv=none; b=bU71QJXxDry7dTtfhgTJeGKfBP7DEkPnDeZJrVGp4vbPXW8/9/4dw2Cgc9ZZ+ILG7nNbpc Y9+kYSlSHD8KKjrx17dK/yoVbrp7GFxzbfqBKEZ0kHwlba3jySJKo4SQnSIqb/oReDJZE/ dztzfZQa2oelZdQ5rRhZsz3+hDPtCX4= ARC-Authentication-Results: i=1; imf21.hostedemail.com; dkim=pass header.d=igalia.com header.s=20170329 header.b=dNs6y88V; spf=pass (imf21.hostedemail.com: domain of andrealmeid@igalia.com designates 178.60.130.6 as permitted sender) smtp.mailfrom=andrealmeid@igalia.com; dmarc=pass (policy=none) header.from=igalia.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=8swRcMqa/BS2pXAGjnNhVyXxuHalIiMIO71jJmsFBEs=; b=dNs6y88V3Dp060LB2jwGQ42+XE aWYX1YU5LJCoxMADvt2/KdnVdLavBZNQQILvGyY94ejMp9bE6JQgXj7LU1esE8v/j6PcIjfFN2IFD TwYEhaPWyK7KZxPgqiR/taMupeNQSJ0sexhpttnS9M6pTBg/g6Z0rTevV9Xz5lMZ6Zo6EYqZP5kSl Y+MzYdD9Aq+ZPn/JVDu6c1VXbwFipB3kStIeax1qQiIWirUy3SPlI+Drz30PxLWsPvm2lKHKequgv GSb+WpsNI0LbdZSh2uDbTI4MfCWs9+yfMiEgDdQewanxooCxFLUhIFHuK9v6DygPiodpdldb+rz+m dLB8XqYw==; Received: from [189.78.222.89] (helo=localhost.localdomain) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim) id 1t6uk2-000V2F-QD; Fri, 01 Nov 2024 17:43:19 +0100 From: =?utf-8?q?Andr=C3=A9_Almeida?= To: Hugh Dickins , Andrew Morton , Alexander Viro , Christian Brauner , Jan Kara , krisman@kernel.org, Stephen Rothwell , Nathan Chancellor Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, kernel-dev@igalia.com, Theodore Ts'o , =?utf-8?q?Andr=C3=A9_Almeida?= Subject: [PATCH v2 1/3] libfs: Fix kernel-doc warning in generic_ci_validate_strict_name Date: Fri, 1 Nov 2024 13:42:49 -0300 Message-ID: <20241101164251.327884-2-andrealmeid@igalia.com> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241101164251.327884-1-andrealmeid@igalia.com> References: <20241101164251.327884-1-andrealmeid@igalia.com> MIME-Version: 1.0 X-Rspamd-Server: rspam10 X-Stat-Signature: 4gnu5nfq7wb5syh1u7k4wq5tzfrfebks X-Rspamd-Queue-Id: 6C3A81C000A X-Rspam-User: X-HE-Tag: 1730479351-571947 X-HE-Meta: U2FsdGVkX18nNkPf824lM8wVNwpgsotn1ZhBSp/G9/2fgVEjeAylzOryH+w45M8GnL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Y9faMeFTirjPyVXvH/62gFe1VW/tLYwPievS0TimE1vE4Jo+D4YLRt2kV0lHByB2T5jfM4xc54BhCMO1U/4Nw5/vh2yY7tgkRRyO3SRCLCZat1cEumoVrjX6Oi2P6bWRsh9ewqrTU8SNC9rES4rsPwBGJQ73xMGTdE7BGU8XxMVnND9FyKHtHUJonP5fWxRk6AZU/CXjmaqNgPhCV3MWSBDwc/66XDg+ykRWk9WwYZVDwI22x1kEh87op6aGdTCspIh8HekqKFNjn2KWdsV8Ki1IOnNBT4xG+YIv+/tY2z4Wy/Fr7kP3RLaicwvSRWPJlQ== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Fix the indentation of the return values from generic_ci_validate_strict_name() to properly render the comment and to address a `make htmldocs` warning: Documentation/filesystems/api-summary:14: include/linux/fs.h:3504: WARNING: Bullet list ends without a blank line; unexpected unindent. Fixes: 0e152beb5aa1 ("libfs: Create the helper function generic_ci_validate_strict_name()") Reported-by: Stephen Rothwell Closes: https://lore.kernel.org/lkml/20241030162435.05425f60@canb.auug.org.au/ Signed-off-by: André Almeida --- include/linux/fs.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/linux/fs.h b/include/linux/fs.h index 3b279f60e48f..b562a161e2ee 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -3499,12 +3499,12 @@ int generic_ci_d_compare(const struct dentry *dentry, unsigned int len, * @name: name of the new file * * Return: - * * True if the filename is suitable for this directory. It can be - * true if a given name is not suitable for a strict encoding - * directory, but the directory being used isn't strict + * * True: if the filename is suitable for this directory. It can be + * true if a given name is not suitable for a strict encoding + * directory, but the directory being used isn't strict * * False if the filename isn't suitable for this directory. This only - * happens when a directory is casefolded and the filesystem is strict - * about its encoding. + * happens when a directory is casefolded and the filesystem is strict + * about its encoding. */ static inline bool generic_ci_validate_strict_name(struct inode *dir, struct qstr *name) {