Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp613697lqb; Fri, 15 Mar 2024 00:58:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXXFYTeAH4CDgXe71zH6Q1qc01GZv0cSUrMSSJ06y7wGLiG1/aH8JxcsKEXvNZbt0aHUoundF+t5jzbN1SD7Qx0RoaC73ubMi9+ocjGWw== X-Google-Smtp-Source: AGHT+IHk8CYBDLzdp+VWNTYeVNlAY4z0FYTyDxuv8zCGxJ0bJZh3AZsFQGMYfYPm64vDfG5bc5wg X-Received: by 2002:a05:622a:2992:b0:42e:e050:18f4 with SMTP id hd18-20020a05622a299200b0042ee05018f4mr4985973qtb.40.1710489493536; Fri, 15 Mar 2024 00:58:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710489493; cv=pass; d=google.com; s=arc-20160816; b=XRHd7QFBIi4vp9LUtdsaLrFHenP2YQF84ipPMTx5rBknznxmFL6/M57wmWZ23AM3ad CXnmN5xb6V4MUjm9MqUAmfyCL/625x8XPYVAsgejvhgYIM4TDKshB6jsElxLRCqw0VU5 i20VqfOVlpUtO80fhSbLw4l9oLmcJQ7AmnbUjX6STcWvzKKEFYam8yWaD94RAzyrSc5+ olEWJprY2+sWYtpNtH6EBfFzTAKOw23ovvOFDDEPIox8cTbENj0qGSTYPxoGtcCay/4a pYccZxw9qen8EJuyAQ3w+qA9UEDUGuh++p8Egirvz1654pgAT0wXxossfKbPleDdprXB ksdw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=GfzLZvVTB66l3CV8s0w+Yyt+PN5Qeom7/J1D8rdHZiU=; fh=kN1gKW/wZKlop9JQ+RECdStlqjdHg7zGcLn6MHUZvTk=; b=w3Ug0MVlJIg2KRSpr235KNk32yJGD6yjA5sFXCV2QCrETAIR/Zv1S6bb2hH6UlFEOT iYOpety53vsdh5L4ju3DMR+AxaxuHnk1bFqJaHJxzO7D4BUzxCGUpk4LeJ0It26rZDnr cZURBQuh9jKzDcFMkd3uIg5sbcC7J3+RMKkVk9mx3RlAsQ6HLNfUm3Krei4bTT5N/To4 INHNW3Is3MzyKvSETO1mHUKx2koagdZEkZYwoJP3mcSAZ654SiLP+iaT23cwAyeRBA7M Z9sBos/+1hTEOm6FEqPpAWQshTitIGOYYy7SOgaL6l8t8fKYn2cclvNLTQSVKALaVVmE T9Qg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=ACNKUY6E; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-104130-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104130-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id u5-20020a05622a198500b0042ef40dc133si3171645qtc.96.2024.03.15.00.58.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Mar 2024 00:58:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-104130-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=ACNKUY6E; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-104130-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104130-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 4398E1C2149A for ; Fri, 15 Mar 2024 07:58:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5A6E914A8E; Fri, 15 Mar 2024 07:58:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b="ACNKUY6E" Received: from out30-99.freemail.mail.aliyun.com (out30-99.freemail.mail.aliyun.com [115.124.30.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4B72514280 for ; Fri, 15 Mar 2024 07:58:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.99 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710489486; cv=none; b=iLJIjOZnvc2j6o9VJiBrlxzJzpKVyt+eBUPBR/mO3FLttLh0DCM75BlQizxpiWkSTLKbn9k9wbl+Pp4Z3QIonZIf/UxkQwCwcEHrYzU5YWFe0AjWOnujz6/lmnAX8EMFRubxQ7loHJFZ6+vxH6UotUnFO9R5OdGJzEujUUFrMOg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710489486; c=relaxed/simple; bh=81XSfEgLxlFeq8/X8aED3TZ7ruO0mOShtVUqNrx19kM=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=E0rT/kKoIGQKWEXjc1ul9l4n7QGlppR9UbNjIOOWHicbsSgi6T8uWz953RKYXHgPuDdABH9fCxroOv4T0SDY2QdYAD074zPwSxwdPE7eBgb7MZMzEzCLBaBRK5FUMMcOkJ1cGGisDUal8PjKzL0iup7XBg9vfAnxQM++r0ep+Js= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b=ACNKUY6E; arc=none smtp.client-ip=115.124.30.99 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1710489482; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=GfzLZvVTB66l3CV8s0w+Yyt+PN5Qeom7/J1D8rdHZiU=; b=ACNKUY6EX4eTP3nKhM+Z6ueIg9GORr7khnzgprSlI29lSbjEU+9JIB19/8fjN0q9vdg8tHHoxSneKvLyy31s46Ye/2IlyHcRsWfvqDxiZqaepKizwiLIPTiYM0m+yIcaBipjWEmEamoPFgVVqvBABfexeDPKbw1yoZxi/1gtHGg= X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R161e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045176;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=3;SR=0;TI=SMTPD_---0W2VavpW_1710489169; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0W2VavpW_1710489169) by smtp.aliyun-inc.com; Fri, 15 Mar 2024 15:52:50 +0800 From: Yang Li To: hirofumi@mail.parknet.co.jp Cc: linux-kernel@vger.kernel.org, Yang Li Subject: [PATCH -next] fs: Add kernel-doc comments to fat_parse_long() Date: Fri, 15 Mar 2024 15:52:49 +0800 Message-Id: <20240315075249.111059-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This commit adds kernel-doc style comments with complete parameter descriptions for the function fat_parse_long. Signed-off-by: Yang Li --- fs/fat/dir.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/fs/fat/dir.c b/fs/fat/dir.c index 00235b8a1823..8236807eb7f7 100644 --- a/fs/fat/dir.c +++ b/fs/fat/dir.c @@ -269,6 +269,16 @@ enum { PARSE_INVALID = 1, PARSE_NOT_LONGNAME, PARSE_EOF, }; /** * fat_parse_long - Parse extended directory entry. * + * @dir: Pointer to the inode that represents the directory. + * @pos: On input, contains the starting position to read from. + * On output, updated with the new position. + * @bh: Pointer to the buffer head that may be used for reading directory entries. + * May be updated. + * @de: On input, points to the current directory entry. + * On output, points to the next directory entry. + * @unicode: Pointer to a buffer where the parsed Unicode long filename will be stored. + * @nr_slots: Pointer to a variable that will store the number of longname slots found. + * * This function returns zero on success, negative value on error, or one of * the following: * -- 2.20.1.7.g153144c