From patchwork Fri Nov 1 01:37:39 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: 13858588 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 10C96E67494 for ; Fri, 1 Nov 2024 01:38:11 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 2B9CF6B00A2; Thu, 31 Oct 2024 21:38:10 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 291606B00A5; Thu, 31 Oct 2024 21:38:10 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 131EA6B00A6; Thu, 31 Oct 2024 21:38:10 -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 E9D046B00A5 for ; Thu, 31 Oct 2024 21:38:09 -0400 (EDT) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 6A4001A19E0 for ; Fri, 1 Nov 2024 01:38:09 +0000 (UTC) X-FDA: 82735815246.14.4E52654 Received: from fanzine2.igalia.com (fanzine.igalia.com [178.60.130.6]) by imf14.hostedemail.com (Postfix) with ESMTP id 8F478100011 for ; Fri, 1 Nov 2024 01:37:36 +0000 (UTC) Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=igalia.com header.s=20170329 header.b=F29RFp4N; spf=pass (imf14.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=1730425006; 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=hp5kpbwvaILYgIy2Fimx7HPe/HPYumwLw3G9mZHE6LiciY4K04kwU+FYv5pWeaMtlsZlWl wiO9A415apkFEDV4yxcw7mn/GmfBX0xw/iz6kpdkp550AwP+IgurIYUCvNvKpB1ARBVXj9 21wQ/KuNbaR5iOXvyHrFlTSATS4aZe0= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1730425006; a=rsa-sha256; cv=none; b=nUDtpNukrIlciPJs195K1X7FItHwQ+dRe7YlDYfpdCQwubdY1nOjGtfjtKfpv2SEOy4sZd 1EipxmXrCc2OAo1hD2OQuo5UQW4n8uxlQkW+IESwlAa+UG2hOnZFssIWNA2ynsSP7s5y/2 aTQ/Me77uH95p1PoV1EqzNYYaRTpC5M= ARC-Authentication-Results: i=1; imf14.hostedemail.com; dkim=pass header.d=igalia.com header.s=20170329 header.b=F29RFp4N; spf=pass (imf14.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=F29RFp4N0vPj0s1J5QEIiOahhJ XtmstjmkH5wGBzWkqKIEA2OND/3xKxCb9IEFo6qCWlDuQUR5ousxHS8g3uJENfHud0qXvl4NTrPCN dviD8nbyefB44gJh9xemI7cUIggGvtLvhYX89M6abblhgPv8kDkh4tN9Haq95WNrpI8zaTZWKj6ly SuhaBPbLcCtIVKQG7cgniiwSRd+pSEpfxhAWMKAzuEMOUBvk0ZXR9HEhnLn6jEL6eDElGjGeLFRKI f7liZadXemfK5Ip7WLRt8d4nYTXsQ3hkFzmReoEDsMG/+k+wlw3DF5/yoqIOwXTnl9gQLak28w572 LDDltqDg==; 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 1t6gbq-000G0m-O1; Fri, 01 Nov 2024 02:37:55 +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 1/3] libfs: Fix kernel-doc warning in generic_ci_validate_strict_name Date: Thu, 31 Oct 2024 22:37:39 -0300 Message-ID: <20241101013741.295792-2-andrealmeid@igalia.com> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241101013741.295792-1-andrealmeid@igalia.com> References: <20241101013741.295792-1-andrealmeid@igalia.com> MIME-Version: 1.0 X-Rspamd-Server: rspam10 X-Stat-Signature: igieco7wj1mo6yqgxqmhwjbseffxp59q X-Rspamd-Queue-Id: 8F478100011 X-Rspam-User: X-HE-Tag: 1730425056-448469 X-HE-Meta: U2FsdGVkX1+LG0KGNVqe/KcFX7teeSNTT408TkqDFZQ6FXznjmawL8VzfjorVBJKICYxkbToO3wnVEg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q+Fg8mhcCFNHpykgQfN6htPelfL4F06fc78pPR5/k69MdP03HuJmn0sX2EPP8M3sxFJ8jhL+YwuRHpbfseO+z2QDfiB6rXkkwP+/pp03Ik4HT86NkoVKEhNfYEuys+cQ5R4o42/Rdh2Lh9LLekv+6eh8+9Zxx7GNpBPCfJcfYQFaDWbDD5jkwY/OM914PE4a31ip7UfzFsFmHrXxlPoqlEMpd6GOCAptwq1V927wPutLShcM/CYRSAEWEdN26hBmyibjK1lPQ/EEBbbI7yszJJEUmwKRf+RZHtgLw== 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) {