From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mta1.migadu.com (out-21.mta1.migadu.com [95.215.58.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 55AB1448BAF for ; Tue, 25 Aug 2026 12:57:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.21 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787662673; cv=none; b=TRdw/96clZMOMyB/fCh/ztZo5oqEDFbIEbPilfzm5ivS79M26IGKdekc4aFGcfvTH2zI8oQbKg1OgABs7p64n+8pJHsY/3BPOGIj4lM+cm2feB5gtHIzpwHf5LZ7zG1hd6Uic+Yng/qY221x7YtWsUbgzSq6HVvel2brM8EbIP0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787662673; c=relaxed/simple; bh=RQ2tt0SwdsDYCJg0yeBJV/rAXuRLEZbNir4NgXWRYsY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Y8MV5rkvoDUTjLvxSTS/J9chzeJeF+pKZWdrth1peHwRECF+vqaEPWEBh1w8tW8J+XvdMZWv/p6FdkjtWS8QLnR5VISItsf378RJImCJAFK6bzUYJ3C7pGq/sTUnvy482S09QssnTqNB2o91ThGTJosWoAp+1+QOeMWcm36mexE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=odknuhel; arc=none smtp.client-ip=95.215.58.21 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="odknuhel" X-Envelope-To: linux-kernel@vger.kernel.org DKIM-Signature: a=rsa-sha256; bh=RQ2tt0SwdsDYCJg0yeBJV/rAXuRLEZbNir4NgXWRYsY=; c=simple/simple; d=linux.dev; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1787662668; v=1; x=1788267468; b=odknuheldjeMHgQ3zfH0c6KfnmvWb7DTLXt86k4UzX8Wh6/T1N5+OEotuvV0Q6w6yMS/YiVZ uv1Nkq5TrYpYviHnEpehrGlEG6ynwQzqIANTUmxsZM84vXSoUcGt9snpCooDPZ17XYrF9uRHoUq cc1a9dlVWUsCDx20GzeNppDM= X-Envelope-To: linux-kernel@vger.kernel.org Received: from ctao-book.. (223.70.159.239) by smtp.migadu.com with ESMTPS id 05fca96e65d45a21; Tue, 25 Aug 2026 12:57:48 +0000 X-Mizu-Trace-ID: 05fca96e65d45a21 X-Migadu-Flow: FLOW_OUT From: Tao Cui To: axboe@kernel.dk Cc: hch@lst.de, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, cui.tao@linux.dev, Tao Cui Subject: [PATCH 1/3] loop: drop a stale reference to loop_validate_size() Date: Tue, 25 Aug 2026 20:57:18 +0800 Message-ID: <20260825125720.181793-2-cui.tao@linux.dev> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260825125720.181793-1-cui.tao@linux.dev> References: <20260825125720.181793-1-cui.tao@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Tao Cui The kerneldoc of loop_set_size() points readers at loop_validate_size(), which does not exist in the tree. Drop the reference. Signed-off-by: Tao Cui --- drivers/block/loop.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/block/loop.c b/drivers/block/loop.c index 6f12976035b0..68a9cc7aeb13 100644 --- a/drivers/block/loop.c +++ b/drivers/block/loop.c @@ -212,9 +212,6 @@ static inline void loop_update_dio(struct loop_device *lo) * loop_set_size() - sets device size and notifies userspace * @lo: struct loop_device to set the size for * @size: new size of the loop device - * - * Callers must validate that the size passed into this function fits into - * a sector_t, eg using loop_validate_size() */ static void loop_set_size(struct loop_device *lo, loff_t size) { -- 2.43.0