From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 011.lax.mailroute.net (011.lax.mailroute.net [199.89.1.14]) (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 ACB1E439354 for ; Wed, 8 Jul 2026 15:48:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=199.89.1.14 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783525729; cv=none; b=Yz8BkHxUdr/ZpQVHy/g/dCTGy2Lfk8hTdKfRlXRP+M8MDl9DbNaT4992DvCUtbH48LixmhovlfPNawGnCajlCXTOHibFV0pCQmR3w5+xNu76vuA2ahBuQoXEkzgHRu2TAXWPgw6UugH8g8zE8/oAOZRVf98jKwRr8vX0zvXLbAc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783525729; c=relaxed/simple; bh=gr+nl3y7PYziHL1ur/8bK5yAMy6L7zmhkg5deLYExe4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=b5nI2RhygEAN+EsEK/9tH4cSZ6tMzV7HQBOiZQVBucNIn6D8HeQavXSZSJQm0/2XTf6zl97fnKqo0n1Jfp9XWfSUaOK1QzsxyWmhfXC35XGRy1g7F+777n2QIURlIU/bOUqPo5Mrhhc1YRjmV/CZQ0kTvJec5Q/Va8m42X+MMl4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=acm.org; spf=pass smtp.mailfrom=acm.org; dkim=pass (2048-bit key) header.d=acm.org header.i=@acm.org header.b=1gEOl9PD; arc=none smtp.client-ip=199.89.1.14 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=acm.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=acm.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=acm.org header.i=@acm.org header.b="1gEOl9PD" Received: from localhost (localhost [127.0.0.1]) by 011.lax.mailroute.net (Postfix) with ESMTP id 4gwMvg0Ktfz1XM0pc; Wed, 8 Jul 2026 15:48:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=acm.org; h= content-transfer-encoding:content-type:content-type:in-reply-to :from:from:content-language:references:subject:subject :user-agent:mime-version:date:date:message-id:received:received; s=mr01; t=1783525723; x=1786117724; bh=eM9G8/mDdywc919YsZLYsx2c oD9EjEj4BdtAaMFvrGA=; b=1gEOl9PDA4sS1hSVUbREnSAkPjnY5i/coeiyKuFI zo8TzqBkSvE47NjpBIUdyQOaZl2gNKSjurfO7sjofka2ZMKuU0ccZp6MbjamJYC8 HdSwwcOoXkpBPuRh+NN89UGUZw0Fohu6rvYIa7Dy/LGvY1v6bQP31kKaeZQlEOoz 53Z+sWHWoUrBHlz3YMFh10+aJrwpQmYMPd7QbsS/UmcxeC/bs8ABjoVIA9ywiQn2 qVPprpa18YnNTiM589sO7pxp3r3r+lkPt7+q712hLB/+6fL4m8YCxyV80lx84Ih2 1AoR4R7Yinlf1wF2K53SMQ1Q4Lo3iwOG7OdNCQydNM801Q== X-Virus-Scanned: by MailRoute Received: from 011.lax.mailroute.net ([127.0.0.1]) by localhost (011.lax [127.0.0.1]) (mroute_mailscanner, port 10029) with LMTP id R3zaO9z241gi; Wed, 8 Jul 2026 15:48:43 +0000 (UTC) Received: from [100.119.48.131] (unknown [104.135.180.219]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: bvanassche@acm.org) by 011.lax.mailroute.net (Postfix) with ESMTPSA id 4gwMvY2mRxz1XM6Jf; Wed, 8 Jul 2026 15:48:41 +0000 (UTC) Message-ID: <89e67a3a-d6be-45d7-a101-4e3dc756301f@acm.org> Date: Wed, 8 Jul 2026 08:48:40 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1] clang-format: Fix formatting of guard() To: =?UTF-8?Q?Micka=C3=ABl_Sala=C3=BCn?= , Miguel Ojeda Cc: linux-kernel@vger.kernel.org, Nathan Chancellor , Andrew Morton , =?UTF-8?Q?G=C3=BCnther_Noack?= , Ingo Molnar , Peter Zijlstra References: <20260708105713.2073335-1-mic@digikod.net> Content-Language: en-US From: Bart Van Assche In-Reply-To: <20260708105713.2073335-1-mic@digikod.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable On 7/8/26 3:57 AM, Micka=C3=ABl Sala=C3=BCn wrote: > The previous fix was overzealous and included guard() along with > scoped_guard(), but only the later takes curly braces. >=20 > The original fix introduced this issue: > - guard(rcu)(); > + guard(rcu) > + (); Reviewed-by: Bart Van Assche