Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp957088lqp; Fri, 22 Mar 2024 00:37:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWfYLfHLLUIVUHoQvW0+DfztzxeX769fHONngHFdNMdYNpG8YaQrCaA/EnacsBfwMwl1yDiP791oX2IOeosPpRCmhjcpiqklnH1Uy0qxg== X-Google-Smtp-Source: AGHT+IGVJj3Mezpah05NcAXntuJMLO8aan53kDaBdI728RNwc5cuRLY11TuwS5PRUSg/syimNcyB X-Received: by 2002:a05:620a:37aa:b0:789:e3ee:532c with SMTP id pi42-20020a05620a37aa00b00789e3ee532cmr1263847qkn.26.1711093060359; Fri, 22 Mar 2024 00:37:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711093060; cv=pass; d=google.com; s=arc-20160816; b=olq/z00lCTKsHE/8Ufc1ZBpET4Qf+bZ+hNYdwVlc7Uz124Ast9jJkC59HcQF08cwIT BCjBL+hAHuVnsKGXvt1s3GfZz+MWMpgWkCltWg33llhxIVQylX/EGsJjYRv/Rs0m9Fjd zA1M4MJuIHtpichiLP6Zc73eyxPWbuJlp1y1OESsY8XYnThV9rYCzIP1R9QoL8PL3cW2 I90v69xgvVVUCaHuhmv1qX5/9JqmvrV7I2/O2gT7U1dhFtKls4HK5d3Oe0VF6zROBmZs 5eV0UH/RDZmKL85fvN8sKCNBgXvqzwlgroWUhgt8YV15cpkj+GfZm68wpbi58hyEElyb EAUQ== 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=+MJuteRwkg0VsnJEaRGWcNPsIdgpqOG+jFcL7QBZ5kU=; fh=kN1gKW/wZKlop9JQ+RECdStlqjdHg7zGcLn6MHUZvTk=; b=YhZtG2CPmOQrECEQPTLmTYV6zS2LcIGTPMkVoVcvd04dsfXUhBnuXhlr8ztb/z8UoB OnBNfuiuUsv93jkmb66PMc6q99Z86mIvMm7qVeZjEP8bKfkVDIIGYrhEps3p+kGXuolx oEnxSf9adfqpeYKV/Uj0BkojzlWd5SHX8MEPiWwm8GPMaUcnN18bPSZr+R5BYkVx3F7M gdCpNGBZXAPTVNxuD0FaCrC2AX4Bj1/1AqBJG9uvAntGeiZMHH6GW+wU5WmOdUkhsExr ByxMLYDMkFm9FCT5WWOkVFr5TJlQSVq6Bd2FV/+moFHr7bHFn+2hC1JCljJVgsMy3jSC lNdg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=hDI4vY3w; 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-111071-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111071-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 z11-20020a05620a08cb00b0078a39dc1566si911874qkz.62.2024.03.22.00.37.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 00:37:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-111071-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=hDI4vY3w; 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-111071-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111071-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 4D2341C23951 for ; Fri, 22 Mar 2024 07:37:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A31A412E6F; Fri, 22 Mar 2024 07:37:31 +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="hDI4vY3w" Received: from out30-100.freemail.mail.aliyun.com (out30-100.freemail.mail.aliyun.com [115.124.30.100]) (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 3E1E48F51 for ; Fri, 22 Mar 2024 07:37:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.100 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711093050; cv=none; b=Rb4ltkSXViMW9vJdrcOovROB3xXz/2EmZFv/Qq0s6Mrdv9SYpTp+Ar2ZaJvkAP/oa3GE3zWblyvYaim4x3zeMa2Nyhfyh1LrwJDJwheAgEtJipuu6x3cIhla36Gp4j1H35zmww93jkbbdUlJMpx7gXGsrN7h48bgPcuqyiWlyHk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711093050; c=relaxed/simple; bh=CRUuQDO3gosr+5zVZOZygAhbr0SjBX3YXVzK+A5bteg=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=WyREHKjEO/+RTqr0Fc+85Y3SpdlL/k14nmtAaovWA4m9LkukvR5zsHwIUEi6PZRT7nlrsaZWSxVj1hYpwKKXrDd348G+YlwD9v/ZgKyuKaXmbCG1I4xnSFmnAIOhWNBilNdJbgPudn5HlScH155l7cOxyfika0Oo8YGzfaY7m9E= 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=hDI4vY3w; arc=none smtp.client-ip=115.124.30.100 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=1711093046; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=+MJuteRwkg0VsnJEaRGWcNPsIdgpqOG+jFcL7QBZ5kU=; b=hDI4vY3wgZtCz4w7djqjKUqi4xcN+L+C1CNjozlMaZmWoqjTd9otShF6wf/3pEzLOxKAJ8+txYzwFBG/tIyGpjyaDUeCK8Wzf6k0ounAqpvAph2NpXTePa1S0ix+r0hfnhOEcqR8cC9D0tXJDGVl8oM2IQFImwjbsGjkGUw+5mk= 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=ay29a033018046059;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=3;SR=0;TI=SMTPD_---0W31EOg2_1711093045; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0W31EOg2_1711093045) by smtp.aliyun-inc.com; Fri, 22 Mar 2024 15:37:25 +0800 From: Yang Li To: hirofumi@mail.parknet.co.jp Cc: linux-kernel@vger.kernel.org, Yang Li Subject: [PATCH -next v2] fs: Add kernel-doc comments to fat_parse_long() Date: Fri, 22 Mar 2024 15:37:24 +0800 Message-Id: <20240322073724.102332-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