From nobody Thu Apr 16 07:09:59 2026 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 7FD8921B905 for ; Mon, 2 Mar 2026 00:51:45 +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=1772412710; cv=none; b=Hm0Qu8xsQg1eeyddmMR07VAxi33PqORhTZrxgsJcZ8GzRDVnpbarM9EfqRJylD9xbuTVx5QELog5ABsfVvXxNgxuEAJEOdiirKFnTZwru6Tr3oErOBRc5T4Wb17T2pqCCFzxl5SpvLrnLpuNb8sru4TMX9c+C3swj1T/AZi8cdU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772412710; c=relaxed/simple; bh=ph1T/peHRrNV8uNXcWQ4ZXzIfzFzGv/rzaAUhwoBWBA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ADCc+pYray8R4D1yGrryBlDcTKdhXqhqYROAeikwVHO86WcWSXEcen39FZYFId0VxT2MuGDvzq66e9MjiQedFyZR+3aLHPxt0sCU6wjO7YBW6rc9ycCVFezh16Kirstw2tJRV7Dw4YLyn7cMIJSof/glKieEwVPL94/ybB7BePA= 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=ecSMIx0o; 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="ecSMIx0o" 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=mHF0Agmh3uA31Bu2rDdXytIy+jBQhzdxS13OtETuU9Y=; b=ecSMIx0o/aPPQWD1OEjj4OJ0BX MAAwShCZ1voOQvUjt8Isy+fyyYhrzP6pdSPXco+4+4vYqj3dsz2NXkqhn5Ll9uwVdXGFgGRabvHrD VYk2UsFhwR9Ac58KkQnm+LCRTHe29OgaAIoA8NRbDEZVgTedrxxqW/uJh/x2NJTze+g2xyfgOZ/9O oO1X/AbdZP2tEshEinnMMt44EE5EHMNla+zP8YPJXlhPV4PQlQ/a+7dIkkGKZyWGujcItvNwOhcf8 8F4zv+pTepNbEjlwDTSO28CETrQ5aq2wh//aUcyWK5wJTsnokvQFfrrNeNDk0wITL5ndfQsVleRn7 G05jNN7w==; 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 1vwrVg-0000000C26V-2p0V; Mon, 02 Mar 2026 00:51:44 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Andrew Morton Subject: [PATCH] build_bug.h: correct function parameters names in kernel-doc Date: Sun, 1 Mar 2026 16:51:44 -0800 Message-ID: <20260302005144.3467019-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.53.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" Use the correct function (or macro) names to avoid kernel-doc warnings: Warning: include/linux/build_bug.h:38 function parameter 'cond' not described in 'BUILD_BUG_ON_MSG' Warning: include/linux/build_bug.h:38 function parameter 'msg' not described in 'BUILD_BUG_ON_MSG' Warning: include/linux/build_bug.h:76 function parameter 'expr' not described in 'static_assert' Signed-off-by: Randy Dunlap Reviewed-by: SeongJae Park --- Cc: Andrew Morton include/linux/build_bug.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- linux-next-20260227.orig/include/linux/build_bug.h +++ linux-next-20260227/include/linux/build_bug.h @@ -32,7 +32,8 @@ /** * BUILD_BUG_ON_MSG - break compile if a condition is true & emit supplied * error message. - * @condition: the condition which the compiler should know is false. + * @cond: the condition which the compiler should know is false. + * @msg: build-time error message * * See BUILD_BUG_ON for description. */ @@ -60,6 +61,7 @@ =20 /** * static_assert - check integer constant expression at build time + * @expr: expression to be checked * * static_assert() is a wrapper for the C11 _Static_assert, with a * little macro magic to make the message optional (defaulting to the