From nobody Mon Feb 9 11:44:43 2026 Received: from fout-a3-smtp.messagingengine.com (fout-a3-smtp.messagingengine.com [103.168.172.146]) (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 164D51C3F0C for ; Sun, 14 Dec 2025 03:25:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.146 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765682742; cv=none; b=PzQ/ps5IOuNz6ST4gsg+MDnnxroM/jAe4Lqn5F0ukAKajNbizFoIgXc52vPeQu+Lo/GEIts7avE6T8rAIhk2bHMuB8Ch2Vjhio/dmSZD2gEBPp06KH/J59Dt5+K52r+wM9spLlUUBhHiE4fzdck9ZAA9vn37WaEXo4vD42NL/jU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765682742; c=relaxed/simple; bh=axH0jTvvqSS3SZPRW0/8y/YnGZKtX2QDZG1lYeFnGBg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=K14LFCGxe2rCYa+97FniTrfSAwzIeVBNwo+HV0rMH7sRW/VDkmjWUQ66xSIOR0DpLPTufFcaqcqGC1fd3AnmhGrd4ql5enVmaUTng01GaD3YFH60NofMWx/HbNHN9F7uJBuHer/CO1357EiBZR/1f0IbxqrPS7QSwInHTa6K00s= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sakamocchi.jp; spf=pass smtp.mailfrom=sakamocchi.jp; dkim=pass (2048-bit key) header.d=sakamocchi.jp header.i=@sakamocchi.jp header.b=Fgm2hCTd; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=NKizqZ9f; arc=none smtp.client-ip=103.168.172.146 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sakamocchi.jp Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sakamocchi.jp Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sakamocchi.jp header.i=@sakamocchi.jp header.b="Fgm2hCTd"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="NKizqZ9f" Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfout.phl.internal (Postfix) with ESMTP id 24BA0EC0599; Sat, 13 Dec 2025 22:25:38 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Sat, 13 Dec 2025 22:25:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakamocchi.jp; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to; s=fm1; t=1765682738; x=1765769138; bh=ERkkbj0rMv 1Ku39JF7lgKvaz1Fajuv4CrQbdvYtPN7s=; b=Fgm2hCTdIotnI9XlcxrJFgEhoW av4dPy+o8UrsC/ZfurOYuAN2TOQk2PV9ncNRe24GvQaP5bILAU4UNK07elWcEkE6 UFgpETj9AHWNuefQNUo2EAilLp8eDdwl684fnxlPYxiCKHVSEnCdU6MpVSwsMgAd mJLYSnhdY+nCd9TTl3LLDduNHM0ILP/AqRZe3mSUxliNzql2MLDT3W20miGeHaao 2VSV8yvX7r9E4eoOPip84vXLXwYZssyYknixi3MufYBAIkoodkg2eA7sQis50h0n mHfz+sDI9dzeSUVpsHa6jFAtgJ4i4WFjD/Q3oF+WZTjxe8LYFLAhBCwfjcrg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1765682738; x=1765769138; bh=ERkkbj0rMv1Ku39JF7lgKvaz1Fajuv4CrQb dvYtPN7s=; b=NKizqZ9fKYKYbF0dH5asP40FMyCMEs6oyFYuPOD2v2mR+JXmL5y jGHlnud+7ldLvm5waAx4JWTjW1/IBCe9A93BShTIiiIP2lxEy2IKueUqoiN6yqv8 6/N+9AEprvdZ2g/6duVndrzy9iBmv2W8kjzfcCs//RSFh2Bt6u68xCuQAxp4CPWa hLwZkUP3r1AvwkG0KSzUjRVlOCU0SHwxauW002NDYhnmzOJWOK2PjudFXEGSTvnk quIH1VK24kf9F2/QePDB/EvhKtNxx2lS6+h2QbSYQZGQnc2OzUtts1Wnioq2uite CsJqURjyh1XTuVhK/e+rUS7iM5magP8wGsw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdefvdekhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofgggfestdekredtredttd enucfhrhhomhepvfgrkhgrshhhihcuufgrkhgrmhhothhouceoohdqthgrkhgrshhhihes shgrkhgrmhhotggthhhirdhjpheqnecuggftrfgrthhtvghrnhepffdvueelffevkeduhf etjeduffeghfettdfguedtgfdvgfeufeduheevheevkeeknecuvehluhhsthgvrhfuihii vgeptdenucfrrghrrghmpehmrghilhhfrhhomhepohdqthgrkhgrshhhihesshgrkhgrmh hotggthhhirdhjphdpnhgspghrtghpthhtohepfedpmhhouggvpehsmhhtphhouhhtpdhr tghpthhtohepihhmrhgvrdguvggrkhesihhnthgvlhdrtghomhdprhgtphhtthhopehhth gvjhhunhesghhmrghilhdrtghomhdprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhes vhhgvghrrdhkvghrnhgvlhdrohhrgh X-ME-Proxy: Feedback-ID: ie8e14432:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 13 Dec 2025 22:25:36 -0500 (EST) From: Takashi Sakamoto To: imre.deak@intel.com, htejun@gmail.com Cc: linux-kernel@vger.kernel.org Subject: [PATCH] scatterlist: remove ambiguous comment for public fields count of mapping iterator Date: Sun, 14 Dec 2025 12:25:33 +0900 Message-ID: <20251214032533.702368-1-o-takashi@sakamocchi.jp> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The structure of SG mapping iterator have some public members, while its comment text has invalid number of the fields, due to the extensions added in later work. This commit gives up to describe the count so that developers no longer take extra care. Fixes: 137d3edb4842 ("sg: reimplement sg mapping iterator") Fixes: 4225fc8555a9 ("lib/scatterlist: use page iterator in the mapping ite= rator") Signed-off-by: Takashi Sakamoto --- include/linux/scatterlist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/scatterlist.h b/include/linux/scatterlist.h index 29f6ceb98d74..881019cc7bfb 100644 --- a/include/linux/scatterlist.h +++ b/include/linux/scatterlist.h @@ -696,7 +696,7 @@ sg_page_iter_dma_address(struct sg_dma_page_iter *dma_i= ter) #define SG_MITER_LOCAL (1 << 3) /* use kmap_local */ =20 struct sg_mapping_iter { - /* the following three fields can be accessed directly */ + /* the following fields can be accessed directly */ struct page *page; /* currently mapped page */ void *addr; /* pointer to the mapped area */ size_t length; /* length of the mapped area */ --=20 2.51.0