From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796380846; b=bSqa6pJHmzlJ4chO//9x3/6UHRtaX30T37OtPBEQ3kgVQrwWO7WDYhY0wEJlzDcjHYNS QqgY101Sscw5KeLSn1/9EqWz90AxHOilh6Y/x64b3eObzt5B0W3L/38N3jvcu7OQVnQ3K nVqfxgRzXhKPZYa9f3B8NjORe/Z5QfRJ1pNQvsnkFT1mPnpnDt2InnNq/rz3MhFj7/6X0 //8CTRnEkAWMXZADM4GQqcNqzrscSDxkGSl9a9pJB0Sdmf6CpVAtKQO+yl+UWSAbYHeYD Dj0A+rHZqFWiaCH3Fr1yTTcF2l0LideVXK1obbGyF165vZswbLhIm6pmT/XuvgCicLg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796380846; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:User-Agent:X-stable:X-Patchwork-Hint: MIME-Version:Content-Type:Content-Transfer-Encoding; bh=TGGLKnUw/fPwICRo1lelxK8PG0ECsMTsLMSBciVp/qA=; b=XswLVFXdSaj0FdeWy0Qmmsq4bFSsOtk5ejhkWWOkO+joyVLqcu5Fdq2JTx1VXW9V7IXh NKjwfGjGw1jTo9vV7pC+EXsdKqpkfaejG75axdypN37MOE51mFsLSqNSis3+/SChqvvw3 zmCdJJf8OThyOLgC/osdm1aMc/XduPU2lXgFWJRwsshSeZJxFksisbr2scB1715A4MQ1e JDteZG5IkIWu9SF0yGJxGU5JXE9qEly9YPjqIFZkjZCespC2h+DsPoVliGotNbP4F3yzy 0lz1DIsL7YH1c1v96cz5w+e2dFjDbYgGbe2z09IMbweB7J8Y+iKyn3HfjraNMI9Celg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=dkxAY3As; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 12DC3606A322; Fri, 4 Dec 2026 10:40:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=dkxAY3As Received: by smtp.kernel.org (Postfix) with ESMTPSA id 86EDD1F000CE; Fri, 4 Dec 2026 10:40:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796380845; bh=TGGLKnUw/fPwICRo1lelxK8PG0ECsMTsLMSBciVp/qA=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=dkxAY3AsNnWtXd1un4/jGRKePqsv+hNS8r0fHCD0ddsIqv5R1ptUuUajPsE2VOmjW R080Wzolb+sF0g5PCpI5UEPLF4klWRs/Lfl6hcufAbpvoZj5UpxK4m9yMWayKrkTzb a1vLSGhTPg6SoesyYStgQmHUjPqAaGhol3RkHtzs= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Andrew Morton , =?UTF-8?q?G=C3=BCnther=20Noack?= , Ingo Molnar , Miguel Ojeda , Peter Zijlstra , Bart Van Assche , =?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?= Subject: [PATCH 7.3 450/742] clang-format: Fix formatting of guard() Date: Fri, 4 Dec 2026 19:05:14 +0900 Message-ID: <20261204100647.114785352@linuxfoundation.org> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204100635.034361255@linuxfoundation.org> References: <20261204100635.034361255@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore X-Mailing-List: stable@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 7.3-stable review patch. If anyone has any objections, please let me know. ------------------ From: Mickaël Salaün commit b2a9f2d43bbdf6dcf178e300c815816a4fe4447d upstream. The previous fix was overzealous and included guard() along with scoped_guard(), but only the later takes curly braces. The original fix introduced this issue: - guard(rcu)(); + guard(rcu) + (); This is especially visible with security/landlock/*.[ch] which is fully formatted with clang-format. Cc: Andrew Morton Cc: Günther Noack Cc: Ingo Molnar Cc: Miguel Ojeda Cc: Peter Zijlstra Cc: stable@vger.kernel.org Fixes: 99df2a8eba34 ("clang-format: fix formatting of guard() and scoped_guard() statements") Closes: https://lore.kernel.org/r/20260702.Eibibi4the9j@digikod.net Reviewed-by: Bart Van Assche Link: https://patch.msgid.link/20260708105713.2073335-1-mic@digikod.net Signed-off-by: Mickaël Salaün Signed-off-by: Greg Kroah-Hartman --- .clang-format | 1 - 1 file changed, 1 deletion(-) diff --git a/.clang-format b/.clang-format index 395292ab2ac6..ce170c0af717 100644 --- a/.clang-format +++ b/.clang-format @@ -481,7 +481,6 @@ ForEachMacros: - 'genradix_for_each' - 'genradix_for_each_from' - 'genradix_for_each_reverse' - - 'guard' - 'hash_for_each' - 'hash_for_each_possible' - 'hash_for_each_possible_rcu' -- 2.56.1