Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3149897rdh; Thu, 28 Sep 2023 04:21:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFp8dRJU7IYxGxE19zY1uNhi+iN1SaVoGoNEt3GOz6wUYhk12HT3z7To7SaDkLY9e0queWC X-Received: by 2002:a17:902:ef8f:b0:1c4:50f0:c4e1 with SMTP id iz15-20020a170902ef8f00b001c450f0c4e1mr792509plb.38.1695900114504; Thu, 28 Sep 2023 04:21:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695900114; cv=none; d=google.com; s=arc-20160816; b=mCuj2MZm39yoYg8LlbAnS2PCYaYoCcJimwLYZ12/6vYGJj20oFSO6s3p+1i+urGGyP AQSfq9+B2BmsGCb0EiiUSDFc+73yYJoADEeQ9lP/bOu8t+/CWtruSmTZXCz54yj5PXwk 8/DgzlrlDUOIH4mr9qrWtN2POqxm8u38KSsBywgtCoevAVSF/N2H53GJFuoBHwSKBRBF Mbc+EoUpxYs8wJBmT+Gm4n2cuq0VwG9di8Td4yGymZkHYkV1kspexuauJ77sayORDTEw ZhLHNAZ//E7rIiQrHqH10hyquCLt6WAKnV/IXEXfVK4ZckurxF6PHFaS4ri9x4Y5HD4c Q9VQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=C0StuuUvChvgWlQD+lOagXYdDLAMj9WWMQTI2JI1PDU=; fh=/84L8n2DthOX5P06yPQX+fvx5AhJDP1Nf2paL8OrS6I=; b=A5sKUxizqkWSHc1ccgrKgTCEOr7Uc4DGCRTZi1wwg3tLo9QXpOHrkbKUmguYQqtO4Q KepzS2GSF0cMPk04KR1XFoCHUj7C0allPOxx8FiBWled2fdDKuO8ccadmqJHjjlQ2zO3 JIECpTtrmzSZCci2+ejDd0mDjjga4BFH0Z52d1p+pUKFWYpfDJO15n9KZkpPfjwqLXYe lncQrYMlaxApr97Aaisp+srCUnaO9FAjlgh7NWJoobTEZsyeGItHUO81oBXLxAcMFpgK sDpqU4GtRRV3FZwJee25oTrhW3Iv0Vj1RX11EI1eIBewOnlTP81X7suYmYUl4djOExzd PTsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=k7aCSQ0k; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id kv16-20020a17090328d000b001bbcddc33dasi17284706plb.180.2023.09.28.04.21.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 04:21:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=k7aCSQ0k; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id C10CB82554BE; Thu, 28 Sep 2023 01:17:17 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231200AbjI1IQz (ORCPT + 99 others); Thu, 28 Sep 2023 04:16:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229539AbjI1IQr (ORCPT ); Thu, 28 Sep 2023 04:16:47 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D44B198; Thu, 28 Sep 2023 01:16:45 -0700 (PDT) Date: Thu, 28 Sep 2023 08:16:43 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1695889004; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=C0StuuUvChvgWlQD+lOagXYdDLAMj9WWMQTI2JI1PDU=; b=k7aCSQ0kZYZwseKsFYAPIrCEqhKdcNc8rW8/JgL/b3rPwoWkE3U8/LFEO3D/So2qyYlpMp DxvnBYV5gsxG+1P2JDrdmrDF6br+Sdcnvr03fDs1MS8zZSiI1ka9YPBFcqRMfdSAV50B9g Q9U6O5qLSdsbemXXQ3poKFg0Qeb+P/9twyd4LfvTw+iYjyo4MUmaP3TAXdQBPBgGjfF6cy 1tleD2T/QM+R0FoRF8us4W/fLs8uKw6A6Jd3aLR7/C8X/yQHQOYa55rn8QLQI+5Tbtuu4w drt0u8W7RIox0KogKkXFPex1EZsWiSSvLngVJZ7OK2LBVIUJe2WSxtUxYIxS3w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1695889004; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=C0StuuUvChvgWlQD+lOagXYdDLAMj9WWMQTI2JI1PDU=; b=aQEFGGI1rVM3Aey3RhTzUeQxdWuoF0t/ZU347KwSwkC9yMCdL3xfCL7Upo0U4P3VQSCtfr ZV9j1PSCXzDMfVBA== From: "tip-bot2 for Alexey Dobriyan" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/boot] x86/boot: Compile boot code with -std=gnu11 too Cc: Alexey Dobriyan , Ingo Molnar , "H. Peter Anvin (Intel)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <2058761e-12a4-4b2f-9690-3c3c1c9902a5@p183> References: <2058761e-12a4-4b2f-9690-3c3c1c9902a5@p183> MIME-Version: 1.0 Message-ID: <169588900363.27769.15241050401538537889.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 28 Sep 2023 01:17:17 -0700 (PDT) The following commit has been merged into the x86/boot branch of tip: Commit-ID: b3bee1e7c3f2b1b77182302c7b2131c804175870 Gitweb: https://git.kernel.org/tip/b3bee1e7c3f2b1b77182302c7b2131c804175870 Author: Alexey Dobriyan AuthorDate: Wed, 27 Sep 2023 18:42:11 +03:00 Committer: Ingo Molnar CommitterDate: Thu, 28 Sep 2023 10:11:27 +02:00 x86/boot: Compile boot code with -std=gnu11 too Use -std=gnu11 for consistency with main kernel code. It doesn't seem to change anything in vmlinux. Signed-off-by: Alexey Dobriyan Signed-off-by: Ingo Molnar Acked-by: H. Peter Anvin (Intel) Link: https://lore.kernel.org/r/2058761e-12a4-4b2f-9690-3c3c1c9902a5@p183 --- arch/x86/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/Makefile b/arch/x86/Makefile index 5bfe5ca..776331f 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile @@ -43,7 +43,7 @@ endif # How to compile the 16-bit code. Note we always compile for -march=i386; # that way we can complain to the user if the CPU is insufficient. -REALMODE_CFLAGS := -m16 -g -Os -DDISABLE_BRANCH_PROFILING -D__DISABLE_EXPORTS \ +REALMODE_CFLAGS := -std=gnu11 -m16 -g -Os -DDISABLE_BRANCH_PROFILING -D__DISABLE_EXPORTS \ -Wall -Wstrict-prototypes -march=i386 -mregparm=3 \ -fno-strict-aliasing -fomit-frame-pointer -fno-pic \ -mno-mmx -mno-sse $(call cc-option,-fcf-protection=none)