| Message ID | 20250924142059.527768-7-benjamin@sipsolutions.net |
|---|---|
| State | Changes Requested |
| Headers | show
Return-Path: <linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=qmpAPXU9; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=sipsolutions.net header.i=@sipsolutions.net header.a=rsa-sha256 header.s=mail header.b=DkC7wNho; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4cWzZ35Tsvz1yZZ for <incoming@patchwork.ozlabs.org>; Thu, 25 Sep 2025 00:22:03 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=I1cm2is+Xgw+x+T3m8uuoGo4E722CtwyukEZGpVjsa4=; b=qmpAPXU9yArrYS4XvJAOgzW8Uf vlmxsNHYKDODmFg+A0AdoIHRC7lTMEVHmxxg+HSWTgpgKk/bSuPFFNLgYycLwknk+HJCYAGxQuxLU SdUGjkPR3faKH2tdgQttrVtjq0A/X6mw9K+MuAShHKQEDdG5JDVtVED9GxupOjGXZuidS13Ihr8MC 5ahHXCchvF+8Fxi7OiXrqutVjhYgrGGq+L0JWgCuBUk78dtQt3bnne1R6EYd4kAl+7gdkBL39B9ni Yhca9FY4SiS8ec6ZXPAKEauoy+t/U2qmuLR4uCncMzdlzPUhoRfCRXLX+HkNbwk89t0JO3xc+s67O a2GWPW6w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1v1QNe-00000000axt-0HDe; Wed, 24 Sep 2025 14:22:02 +0000 Received: from s3.sipsolutions.net ([2a01:4f8:242:246e::2] helo=sipsolutions.net) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1v1QNZ-00000000amr-226U for linux-um@lists.infradead.org; Wed, 24 Sep 2025 14:21:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=I1cm2is+Xgw+x+T3m8uuoGo4E722CtwyukEZGpVjsa4=; t=1758723717; x=1759933317; b=DkC7wNhoimCI0gemmn4W8KGDPvEuZmXY15kQ/TltjK4VOX3 /bQjwv/pocI6qlr5vonVQHNA18kx6sh5NC4mDr8Dy5b31TY8KzFWm6XPDbYJAOKQaqDfKDqay6yax tak9JiVJP8L0hLZhiNgsZ47d/qu9sXjn3xDp4riidFK0YJYocw4hxpgh+Jc4Pa1Ao6fAbMDSNJ7tA u4oRlOfOtHZqzQdQ4mdBip10/V8ODc/JLZuqU0/rhBTSpBbBe13YoMu+bW1p3zHoii66TmcThKvfT ExbnI8gFDXESPLAXztrunKY8GoT8MHGml5OEpigZDR8OVp784Tb4rMMSEI9485CQ==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.98.2) (envelope-from <benjamin@sipsolutions.net>) id 1v1QNW-000000090Bz-3KBY; Wed, 24 Sep 2025 16:21:55 +0200 From: Benjamin Berg <benjamin@sipsolutions.net> To: linux-um@lists.infradead.org, Willy Tarreau <w@1wt.eu>, =?utf-8?q?Thomas?= =?utf-8?q?_Wei=C3=9Fschuh?= <linux@weissschuh.net>, linux-kselftest@vger.kernel.org, Arnaldo Carvalho de Melo <acme@redhat.com> Cc: linux-kernel@vger.kernel.org, Benjamin Berg <benjamin.berg@intel.com> Subject: [PATCH v3 06/12] tools/nolibc: use __fallthrough__ rather than fallthrough Date: Wed, 24 Sep 2025 16:20:53 +0200 Message-ID: <20250924142059.527768-7-benjamin@sipsolutions.net> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20250924142059.527768-1-benjamin@sipsolutions.net> References: <20250924142059.527768-1-benjamin@sipsolutions.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-malware-bazaar: not-scanned X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250924_072157_532706_61CDBC80 X-CRM114-Status: GOOD ( 10.47 ) X-Spam-Score: -2.1 (--) X-Spam-Report: =?unknown-8bit?q?Spam_detection_software=2C_running_on_the_sy?= =?unknown-8bit?q?stem_=22bombadil=2Einfradead=2Eorg=22=2C?= =?unknown-8bit?q?_has_NOT_identified_this_incoming_email_as_spam=2E__The_ori?= =?unknown-8bit?q?ginal?= =?unknown-8bit?q?_message_has_been_attached_to_this_so_you_can_view_it_or_la?= =?unknown-8bit?q?bel?= =?unknown-8bit?q?_similar_future_email=2E__If_you_have_any_questions=2C_see?= =?unknown-8bit?q?_the_administrator_of_that_system_for_details=2E?= =?unknown-8bit?q?_?= =?unknown-8bit?q?_Content_preview=3A__From=3A_Benjamin_Berg_=3Cbenjamin=2Ebe?= =?unknown-8bit?q?rg=40intel=2Ecom=3E_Use_the_version?= =?unknown-8bit?q?_of_the_attribute_with_underscores_to_avoid_issues_if_fallt?= =?unknown-8bit?q?hrough_has_been?= =?unknown-8bit?q?_defined_by_another_header_file_already=2E_Signed-off-by=3A?= =?unknown-8bit?q?_Benjamin_Berg_=3Cbenjamin=2Eberg=40intel=2Ecom=3E?= =?unknown-8bit?q?_Acked-by=3A_Thomas_Wei=C3=9Fschuh_=3Clinux=40weissschuh=2E?= =?unknown-8bit?q?net=3E_---_tools/include/nolibc/compiler=2Eh?= =?unknown-8bit?q?_=7C_4_++--_1_file_changed=2C_2_insertions=28+=29=2C_2_dele?= =?unknown-8bit?q?tions=28-=29_?= =?unknown-8bit?q?_?= =?unknown-8bit?q?_Content_analysis_details=3A___=28-2=2E1_points=2C_5=2E0_re?= =?unknown-8bit?q?quired=29?= =?unknown-8bit?q?_?= =?unknown-8bit?q?_pts_rule_name______________description?= =?unknown-8bit?q?_----_----------------------_------------------------------?= =?unknown-8bit?q?--------------------?= =?unknown-8bit?q?_-0=2E0_SPF=5FHELO=5FPASS__________SPF=3A_HELO_matches_SPF_?= =?unknown-8bit?q?record?= =?unknown-8bit?q?_-0=2E0_SPF=5FPASS_______________SPF=3A_sender_matches_SPF_?= =?unknown-8bit?q?record?= =?unknown-8bit?q?_-0=2E1_DKIM=5FVALID=5FEF__________Message_has_a_valid_DKIM?= =?unknown-8bit?q?_or_DK_signature_from?= =?unknown-8bit?q?_envelope-from_domain?= =?unknown-8bit?q?_-0=2E1_DKIM=5FVALID_____________Message_has_at_least_one_v?= =?unknown-8bit?q?alid_DKIM_or_DK_signature?= =?unknown-8bit?q?_0=2E1_DKIM=5FSIGNED____________Message_has_a_DKIM_or_DK_si?= =?unknown-8bit?q?gnature=2C_not_necessarily_valid?= =?unknown-8bit?q?_-0=2E1_DKIM=5FVALID=5FAU__________Message_has_a_valid_DKIM?= =?unknown-8bit?q?_or_DK_signature_from_author=27s?= =?unknown-8bit?q?_domain?= =?unknown-8bit?q?_-1=2E9_BAYES=5F00_______________BODY=3A_Bayes_spam_probabi?= =?unknown-8bit?q?lity_is_0_to_1=25?= =?unknown-8bit?q?_=5Bscore=3A_0=2E0000=5D?= X-BeenThere: linux-um@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-um.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-um>, <mailto:linux-um-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-um/> List-Post: <mailto:linux-um@lists.infradead.org> List-Help: <mailto:linux-um-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-um>, <mailto:linux-um-request@lists.infradead.org?subject=subscribe> Sender: "linux-um" <linux-um-bounces@lists.infradead.org> Errors-To: linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
| Series |
Start porting UML to nolibc
|
expand
|
diff --git a/tools/include/nolibc/compiler.h b/tools/include/nolibc/compiler.h index 369cfb5a0e78..87090bbc53e0 100644 --- a/tools/include/nolibc/compiler.h +++ b/tools/include/nolibc/compiler.h @@ -41,8 +41,8 @@ # define __no_stack_protector __attribute__((__optimize__("-fno-stack-protector"))) #endif /* __nolibc_has_attribute(no_stack_protector) */ -#if __nolibc_has_attribute(fallthrough) -# define __nolibc_fallthrough do { } while (0); __attribute__((fallthrough)) +#if __nolibc_has_attribute(__fallthrough__) +# define __nolibc_fallthrough do { } while (0); __attribute__((__fallthrough__)) #else # define __nolibc_fallthrough do { } while (0) #endif /* __nolibc_has_attribute(fallthrough) */