From nobody Mon Dec 1 21:30:06 2025 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 7095019C540 for ; Fri, 28 Nov 2025 06:59:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764313169; cv=none; b=YEsU5HhmjBXBuhtf1mlSEHNcRNx6jDPoVSYnXfTRPfN7gKc6sGnBuUorEZOH3U1KgbPO0/sjrZoBdprjbOAu9uyDXiOj0yYhaxWHo3BEy1VRXifGAED4QwyjpZAeXXQ4mkMP4AmXJrXsGOtJiM7V3FGR1H47p6bmHYLEihHl5V0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764313169; c=relaxed/simple; bh=cSqEi3O8ZKHdSuV07y0iN5J+gEhP3nPMv3LvtspURJk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Tqs3B98WF2geadkWaVz38ZiSck+CLzx66JaljwH0iHuTIulie0Ks2H3H3k91Fa25pVPBsi2fIHLJSDzGMVYAQvcwW5vGlfnRYH/jL1G4rdQ/JN/XQDOHf3jPAIlQUN6oS1rSMlmuYt7RYcuXr4IgX9XDQacuJNRxf4t1ZEEGBtE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=ls2VeWnX; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="ls2VeWnX" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=nkE/XkJaphd8K5RS/UXcg71jkrVMjUljToiwQrrTqCU=; b=ls2VeWnXEHoL4UkL1Uq1MvXka2 gGwg6+PGpmWUmjMrZoFNAWAUl4dO2V9aACyHp5tjywfA9Ee6i4KXEbWzTlzqa7vOqka17GJqZa1vB Fonnv7Ehvf3vBYFJUMWySJ3mpYVfMKkytfFLswfcVHfp5qUwz4HFC74hvaNtagxfYLb0iy1Vv7gj/ VEQiqnPyPLyj9/k4/u+hHhciT4wwB4xDfgR0sjXE76PMy0dCWoQUZ5JE2njW+JRy9uff674raLGww qC7sF/+cJK9JCaWYC9r1gUll/1znolUu/aQBCrGUoCYZ5e9iI97M83KDPv7W6hFk0l2KWO04XUKtk jp9rFOGg==; Received: from [50.53.43.113] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.98.2 #2 (Red Hat Linux)) id 1vOsRx-000000004HL-3WbX; Fri, 28 Nov 2025 06:59:25 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Andrew Morton , Thomas Gleixner , Peter Zijlstra , Ingo Molnar , Will Deacon , Waiman Long Subject: [PATCH] local_lock: fix all kernel-doc warnings Date: Thu, 27 Nov 2025 22:59:25 -0800 Message-ID: <20251128065925.917917-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.52.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" Modify kernel-doc comments in local_lock.h to prevent warnings: Warning: include/linux/local_lock.h:9 function parameter 'lock' not described in 'local_lock_init' Warning: include/linux/local_lock.h:56 function parameter 'lock' not described in 'local_trylock_init' Warning: include/linux/local_lock.h:56 expecting prototype for local_lock_init(). Prototype was for local_trylock_init() instead Signed-off-by: Randy Dunlap --- Cc: Andrew Morton Cc: Thomas Gleixner Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Will Deacon Cc: Waiman Long --- include/linux/local_lock.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- linux-next-20251127.orig/include/linux/local_lock.h +++ linux-next-20251127/include/linux/local_lock.h @@ -6,6 +6,7 @@ =20 /** * local_lock_init - Runtime initialize a lock instance + * @lock: The lock variable */ #define local_lock_init(lock) __local_lock_init(lock) =20 @@ -52,7 +53,8 @@ __local_unlock_irqrestore(this_cpu_ptr(lock), flags) =20 /** - * local_lock_init - Runtime initialize a lock instance + * local_trylock_init - Runtime initialize a lock instance + * @lock: The lock variable */ #define local_trylock_init(lock) __local_trylock_init(lock)