Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp401445lqc; Fri, 8 Mar 2024 00:20:04 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWzJ/y7FP4G+9EINchxCaMKI/hfaJtDnNyjTJ77MEjqq6ZaPOaSh0kHDc4tsQwB0HRt53DOLTzQ5mUHWlab+Zx5GFkpif+3/RmVf/lvwA== X-Google-Smtp-Source: AGHT+IHY8qxolqHjOtPkA7c5NNXodSkgKT9NKhOL7pQpTNsfgWscZOK+wMVHi8p2uGe8PtRRSpra X-Received: by 2002:a0d:dbd2:0:b0:609:ff67:b843 with SMTP id d201-20020a0ddbd2000000b00609ff67b843mr2518947ywe.42.1709886003777; Fri, 08 Mar 2024 00:20:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709886003; cv=pass; d=google.com; s=arc-20160816; b=Uf/n7Vk+AZvQf8FV45U/kO3/ovNiMAVb0ZGNivpe1xkXoqfii1078u1c5WPkTZ60EX 5EEwq0GnVHJw7jZuSS3v0huWjapJ8pVL1K/1eUB3NQdbpVoItR+fHHVzK/z3Kw8VWzu3 yQYBkuh8LvwhPMCxaQWsHpnKMqvQfkC5qz5c+7GUJbURGG+TXIvSLp82XKmv/5jYCcV0 tf/fCX+PbESLOkxpGh0nzrI5+LFe2lUAOTy6zukp5GNLXdp12bh3iHm4rGnVq+QNcZiq 8SSS5HBNySv9Zk4wxUy6MldRkJIi0Hv23FY0mxFHP+4r5ZfyEERwgJyd6fqud+QGBZYz yjVg== 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=0QsC97TrMwcM8l8dIuh71VPq817YWxDlnxeVAHCYWOw=; fh=G4EWeRlMnNVx7/3lN4R3y4qhEnybsYutG+FsX7qDtpQ=; b=YW0ETF7oD1eY0l3TNl6q3yf3LsKjZvl7n/zRbi7Y8P/tH4TcQessyyPahiVCkCnE63 vkvwtSCcjdkaofYG1Xzs2Jmnofnx/JqmbgZBjDQYxc6HXJZopADiXovYCE8fsU1S9oAg QsKwKKVw5wigshI7J24gSbEOZfsrKSDxR4wxQS5ea8Kpq6aqjcxpFoQnlFKefnepKjeM U0s4HbwJrgL4MUzVPF1fQRbYNP2OywJgmUq834k1J5cnfzxZNTK8RyfQ1rt3Yp2fOVTB wz8UUd9k9CIR9ZbPxR88trzuDm16DoK2iLM/IXqyLYBc95zU9UNWNpAJjHec3VtRMQWu S7Qg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=ZuC+AwIv; 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-96639-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96639-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id g6-20020ac87f46000000b0042f129c97b4si4728229qtk.261.2024.03.08.00.20.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 00:20:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-96639-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=ZuC+AwIv; 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-96639-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96639-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 806281C2168A for ; Fri, 8 Mar 2024 08:20:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 77CD451C4B; Fri, 8 Mar 2024 08:19:55 +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="ZuC+AwIv" Received: from out30-130.freemail.mail.aliyun.com (out30-130.freemail.mail.aliyun.com [115.124.30.130]) (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 DC40B1CD09; Fri, 8 Mar 2024 08:19:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709885994; cv=none; b=U1EfgOvn2WkFoAgzbn82dwlAP3UVa/Vbc5H+pfYnAxKUTqr5gZzW2UgTnLA2FMqS21rlaLCocphHk+9faMYQ8e3QTlsJz1KiqFsQDWZMrltZUdg464hi5egzrAPopSGjcL6UhDmKQZOnLXmpj17kfGk5VaUeLbnfUwVCOb/RCmQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709885994; c=relaxed/simple; bh=21PYJgFrJNf3jVcdXnmILUFji/g2vh50WPLWmjHxe5c=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=jCOC+9fkMw9tLkMeecaK1eeKlroJ2KHAFPqElilltizL6KFrKVSn4zEjbusUjbDq6CqMKcdB6fJgPWL5MwD4RJdH0T6y03CXu8aGndegB1z4/UE6R5Tz+paWX/ircy0R2iqB2OQ2TH9eAAfU84tixR2YYqXc0ZgNSSHv+olVxiM= 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=ZuC+AwIv; arc=none smtp.client-ip=115.124.30.130 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=1709885988; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=0QsC97TrMwcM8l8dIuh71VPq817YWxDlnxeVAHCYWOw=; b=ZuC+AwIvZ90qLkQkVZyDhZ7N69NBRQxO8Fu5qXVxve+QtNqb9WE4ZGtsUSle4FWKkB5oGKsfwbyBeQteKu86qLZ1aH2OjbXukeWDeqwjFw9xBWLkaXgJxQrnhTOFV4BdCD1JZg2EDjiLGhFmh8DBElX8gPpeX/XkFok91VQsx24= X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R931e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045192;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=4;SR=0;TI=SMTPD_---0W2249gy_1709885987; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0W2249gy_1709885987) by smtp.aliyun-inc.com; Fri, 08 Mar 2024 16:19:47 +0800 From: Yang Li To: axboe@kernel.dk Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li Subject: [PATCH -next] block: Fix some kernel-doc comments Date: Fri, 8 Mar 2024 16:19:46 +0800 Message-Id: <20240308081946.118718-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 functions read_lba, alloc_pvd, and alloc_lvn. Signed-off-by: Yang Li --- block/partitions/aix.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/block/partitions/aix.c b/block/partitions/aix.c index 85f4b967565e..83e73bcda86c 100644 --- a/block/partitions/aix.c +++ b/block/partitions/aix.c @@ -68,10 +68,10 @@ struct pvd { /** * read_lba(): Read bytes from disk, starting at given LBA - * @state - * @lba - * @buffer - * @count + * @state: disk parsed partitions + * @lba: the Logical Block Address of the partition table + * @buffer: destination buffer + * @count: bytes to read * * Description: Reads @count bytes from @state->disk into @buffer. * Returns number of bytes read on success, 0 on error. @@ -103,8 +103,8 @@ static size_t read_lba(struct parsed_partitions *state, u64 lba, u8 *buffer, /** * alloc_pvd(): reads physical volume descriptor - * @state - * @lba + * @state: disk parsed partitions + * @lba: the Logical Block Address of the partition table * * Description: Returns pvd on success, NULL on error. * Allocates space for pvd and fill it with disk blocks at @lba @@ -128,8 +128,8 @@ static struct pvd *alloc_pvd(struct parsed_partitions *state, u32 lba) /** * alloc_lvn(): reads logical volume names - * @state - * @lba + * @state: disk parsed partitions + * @lba: the Logical Block Address of the partition table * * Description: Returns lvn on success, NULL on error. * Allocates space for lvn and fill it with disk blocks at @lba -- 2.20.1.7.g153144c