From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) (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 9938522578D for ; Wed, 18 Mar 2026 20:48:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=pass smtp.client-ip=209.85.214.182 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773866929; cv=pass; b=qbrUN1wcGoLpFv/+0nXRt03oF11K8LaMQS0MJwVhanoiu6hGAea4ByzDInBcPnvkZXk3SMd7qeVXhWiuohBlxc/9BCwVKvuhMBCfSPMrLDMwyc16ZYGBs7r6FnbM/hPfAO1aLsODeB737IwIjwMDFUvJVzpHk5j8hBXhwwl20tA= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773866929; c=relaxed/simple; bh=uP/X/c4byL8tV9q/9/0h5F8Ex1XJ6JshM8+8odZdA24=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=lncgTwEImV9652ZJCDryOjU7vQDjHx+Pob/FezRf7VfCkLcVBBtPfvn1cRMU4BpC6g6+dh1Ce2X2TeikP7rBGFMZ8LMi2AFhyQ3UW1KZDa67b5xRpuRYgYfAeAQSwrGHlql8UcOJMxJLsnmWg4xKdI5HYbhr11EFl180R+TaVAQ= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=fiJxthqw; arc=pass smtp.client-ip=209.85.214.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="fiJxthqw" Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-2b04c9e3eb7so23475ad.0 for ; Wed, 18 Mar 2026 13:48:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1773866928; cv=none; d=google.com; s=arc-20240605; b=TSUTPxYHf9iCKh1pXj1fleP2C+5gLCtQdTc4P1Y8HobOZmGZdkANafl/d/4EPKbT76 3Txt7DIh+Xq5E11CE/wuu9PWr2N/3KqRflFu60d5lACFxGkmc4gWFNmeFFi+xXTjWOcW 7CC2pq01T6JFK7XCDc857wrZkMa7Ep1O1ETXi74IXh/4aNjj2ruKe+1QMhDm+Ix7kH2n kD3vnuvjV0PSRnqrwUem47Ai9CoiS40PcISg3slqIhigptNj7Q+sQaYwvFH8G4AZNYMK APcLroJcik4ink1pA5kaefODrSzmD39r+zNPuIjlYdH+d2m3qu2KbQC+pb90A3KwiGG0 ctUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=gElYO98Hg2Fg6bwa7XQRsZcF8Y9zb+Di190eJCWt1Ig=; fh=LHwTiUnS5xQke3r214coUHWt/c52iJqqFbSjwXf4xZA=; b=Gy7ZcVGX9642PasF1OI+Du8DntktNRZ3bJoKSxltqOFk4B/ELytGzbGtCTDXt+EvKQ ZxU5H0JD9fz3GcOhkDychxgnTBSLwcbX6xfaWADzuutflmunZjJzAlxO8JkzQsGJPoRS HYaDAwTW8hx8LIVRfHuerIZOdB2C4m9XA/U2fyigXIELx+0Wz9vgd1i7Zbklx2wt6rP/ HTPCTofOJIC5njD4xRCzWL8VVlKUfs6cM7n4WWGTuFllOMfDq2rf+i2B7LwvicwxE2Ca EeCY56BBOOSUH5kKeEFuttEG00doeX0FrKnWMZGrnK01W48F7Ss+iaQoZMUKXQ/Htfwz YGIg==; darn=vger.kernel.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1773866928; x=1774471728; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=gElYO98Hg2Fg6bwa7XQRsZcF8Y9zb+Di190eJCWt1Ig=; b=fiJxthqw/9fNGtSHIEAUPfwMjWKOJywE+vP752q+7V2mc5MhsnQojqw/54ouLkj/Zi /C4FNlHLNhtpEJsWQjfCGyCnHSavjTkaaSaYQG0gIDipVs4qpQjbtnVk7fiPpdIL6Vsq 5vsgyeQizdmCdIcbEf8w07dobWeAm6Z9WnmA4AgG6DmcifV5viaa61At5CniiDB8q0sZ XFDotFDO3m9/vlFl6bb43/SR/ddrQ8kKHugyCBqOTP+bfUa/Os5OJ8h7AL469zxotahu uMTwe7Kr2qZ6ySGfvehrx2J302UWa4Zvgy8FMSFBovLCfMPbgHKEWKdeCWpMhkalaQF8 f60A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773866928; x=1774471728; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=gElYO98Hg2Fg6bwa7XQRsZcF8Y9zb+Di190eJCWt1Ig=; b=oz7cnhDavGgqT4OBL15aArZ93X8RwGDdFplJj8kx/NLWjwG5pvY0R78TU0uJjpkbkX 7ZaxwvOXOFLAlhOOLLMWqKNlBKEu7g73kl1FVoGIm58C9QslTFM1kFhJki12xRE7avoN zfX2LhnqYN789/ywqSkpY7+v9TEn2/T5N+WT3I9PHF33OeH9WsTFp1gS07eLdKk05jD5 kNe26dQ6yVSCDfKyMHWx41sQB5vQO2zo/II55R3UvlUyfpdChoH7R2GkJeZ4S1XAVg4e 7/yEe/mZf4A1WsaodXvEXuUXwlfYTvGbUS9+uw7SZPy6iYzFmuR1eUnFIOM/SyCbNgYO 5gBA== X-Gm-Message-State: AOJu0YxjKVw+TOFwWYSatRkvuVxMlP9dCZ5xsyooSnoQkjjwFihYVPzg yYGJLRGE4jsJV1yogwt9vLXGZRBb0VbunYni/gaqK7xdjR0PPriWPcqABVnFkL7RiIL46e5/SYG Geycpm7bLbS+NAchYna2BfPbgw/8eH17bdeqmpF4yX03yc+Ce+TuXt4z4 X-Gm-Gg: ATEYQzw7HlZhbE1TYIHB36CMezlvMYYD4bXol9ZwQw2uYeF0Iri/yp7C6/INuJoJaeM mWR5qZ/v9/c5xKqCqvFXhNFgWjxGlOfE20tJg6stx/xbRzfwTogyOXb4QTuapPrbjoRwm83BOSr C+3rLxPUofBG/5Oq0U9O1JAVmraYWJX7v7dmWiuNvYroyiI5jPqqaByzHb8UsjOWrm0/jvkf+Qb mbaBzcuooQF5M0CeJ0NaL4WBW5cRxNUXfIewWRWDnUAhs+FT80Onph501FY/JK/ZpuI5l5NrUrt kcngp6IXppk2UQPNLvSiFIhH7KCpobLcdzcgRw== X-Received: by 2002:a17:903:1a08:b0:2ae:d10c:6382 with SMTP id d9443c01a7336-2b077e5d126mr869875ad.20.1773866927220; Wed, 18 Mar 2026 13:48:47 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: In-Reply-To: From: Ian Rogers Date: Wed, 18 Mar 2026 13:48:36 -0700 X-Gm-Features: AaiRm53HAAr9_kyTFC3KM_ke6veof6ncD0FFbGXA6B40_CFCg16lptkCwOfuQ58 Message-ID: Subject: Re: [PATCH 1/1 fyi] tools headers: Syncronize linux/build_bug.h with the kernel sources To: Arnaldo Carvalho de Melo Cc: linux-kernel@vger.kernel.org, Andrew Morton , Randy Dunlap , Adrian Hunter , James Clark , Jiri Olsa , Namhyung Kim , linux-perf-users@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable nit: Typo in the subject line s/syncronize/synchronize/ On Wed, Mar 18, 2026 at 11:36=E2=80=AFAM Arnaldo Carvalho de Melo wrote: > > tldr; Just FYI, I'm carrying this on the perf tools tree. > > Full explanation: > > There used to be no copies, with tools/ code using kernel headers > directly. From time to time tools/perf/ broke due to legitimate kernel > hacking. At some point Linus complained about such direct usage. Then we > adopted the current model. > > See further details at: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/= tools/include/uapi/README > > To pick up the changes in: > > 6ffd853b0b10e1e2 ("build_bug.h: correct function parameters names in ke= rnel-doc") > > That just add some comments, addressing this perf tools build warning: > > Warning: Kernel ABI header differences: > diff -u tools/include/linux/build_bug.h include/linux/build_bug.h > > Please take a look at tools/include/uapi/README for further info on this > synchronization process. > > Cc: Andrew Morton > Cc: Randy Dunlap > Signed-off-by: Arnaldo Carvalho de Melo > --- > include/linux/build_bug.h | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/include/linux/build_bug.h b/include/linux/build_bug.h > index d3dc5dc5f916ff4e..2cfbb4c65c784ad8 100644 > --- a/include/linux/build_bug.h > +++ b/include/linux/build_bug.h Shouldn't this patch be to the tools version? Thanks, Ian > @@ -32,8 +32,7 @@ > /** > * BUILD_BUG_ON_MSG - break compile if a condition is true & emit suppli= ed > * error message. > - * @cond: the condition which the compiler should know is false. > - * @msg: build-time error message > + * @condition: the condition which the compiler should know is false. > * > * See BUILD_BUG_ON for description. > */ > @@ -61,7 +60,6 @@ > > /** > * 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 > -- > 2.53.0 >