From patchwork Mon Sep 30 11:20:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julia Lawall X-Patchwork-Id: 13815878 X-Patchwork-Delegate: iweiny@gmail.com Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) (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 C7BB818E020 for ; Mon, 30 Sep 2024 11:21:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.134.164.83 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727695300; cv=none; b=PSOKMoz/imjSn/tnkJ+AEjbVfddstGPP3Hb//6pEKEIWBRLUZthxgqryV2KSEPJZGIhcdy/AdbbYotgAVaoI0lcCj33MLjc8T+Wezc1GqBv5Aldwvim/9vE+0ruKJRGkrw8keUoHzNkSpNdECSXGcjFdy4Nc9HCT5eIXDnAxA18= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727695300; c=relaxed/simple; bh=r1TOoO18QTeynpzBRxTXnpPJtNsE+hAAnVbDN3vVOw8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=cEE5K08u7se2OwUG6n+9e6n35agJN91VHGhbPQHVLDzUbfrfd3BX013oR8cXiHgBeTQ4Xf0ZAbYyksdfw6Lul2a2tKA/RTg4+6HcvJGZcMev0g9SyxngJrwuhxHMgQovQRUXIp+uT3pcCpWOQa8LUk3j7Xd9/4M7X6v7unoiAw8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=inria.fr; spf=pass smtp.mailfrom=inria.fr; dkim=pass (1024-bit key) header.d=inria.fr header.i=@inria.fr header.b=POKTrwcU; arc=none smtp.client-ip=192.134.164.83 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=inria.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=inria.fr Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=inria.fr header.i=@inria.fr header.b="POKTrwcU" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=AaBKHddTICTKiGHnZubTWvkK0E5wtTgvSmQ4wWkyAmw=; b=POKTrwcUC6O7gf7n5schmL15OxR0TGfzdq2ToAtn9GL5sPgNhomVDmR7 Di2zK2Q/Ly6f61dXi2fFt1MopMubZi0uyM2kqGga+kgx1crmo2LIbq8ru xdEqgK/YYzbv6mRwClBDMg9XlwyAjYGvdFvnTWvHdAd1Dx5NOiqdrx+P6 w=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=Julia.Lawall@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.11,165,1725314400"; d="scan'208";a="185956874" Received: from i80.paris.inria.fr (HELO i80.paris.inria.fr.) ([128.93.90.48]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Sep 2024 13:21:26 +0200 From: Julia Lawall To: Dan Williams Cc: kernel-janitors@vger.kernel.org, Vishal Verma , Dave Jiang , Ira Weiny , nvdimm@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 05/35] libnvdimm: Reorganize kerneldoc parameter names Date: Mon, 30 Sep 2024 13:20:51 +0200 Message-Id: <20240930112121.95324-6-Julia.Lawall@inria.fr> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20240930112121.95324-1-Julia.Lawall@inria.fr> References: <20240930112121.95324-1-Julia.Lawall@inria.fr> Precedence: bulk X-Mailing-List: nvdimm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reorganize kerneldoc parameter names to match the parameter order in the function header. Problems identified using Coccinelle. Signed-off-by: Julia Lawall Acked-by: Ira Weiny --- drivers/nvdimm/dimm_devs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nvdimm/dimm_devs.c b/drivers/nvdimm/dimm_devs.c index 21498d461fde..8c35502638e2 100644 --- a/drivers/nvdimm/dimm_devs.c +++ b/drivers/nvdimm/dimm_devs.c @@ -767,8 +767,8 @@ resource_size_t nd_pmem_max_contiguous_dpa(struct nd_region *nd_region, /** * nd_pmem_available_dpa - for the given dimm+region account unallocated dpa - * @nd_mapping: container of dpa-resource-root + labels * @nd_region: constrain available space check to this reference region + * @nd_mapping: container of dpa-resource-root + labels * * Validate that a PMEM label, if present, aligns with the start of an * interleave set.