From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 F3D2A2561A8; Mon, 23 Jun 2025 13:30:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750685441; cv=none; b=SQAS/5dxeQG/QACbuUjo6qAasHx1obaw8Ckgbbuv8S9GM+tQZOPcQTficdR0DgbD3f7EAw+pCmsMhxhR5bDspfmUA0yJaV6v1gY/BbI9Y9HBW9G75trA17UNX0G3PC4ZWhpmpeiyG3UN/fCzbVV66KYNN36DI282V0TI/3Q9HA0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750685441; c=relaxed/simple; bh=OP6Dt6USB7tKjJNkl23bT0dideAbwq0t3Kt0JvJyHKU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=C6vQ/mjr9gjN3iUzed8uymaT+UhE/VYROJpWI0jQHIHW4hNxy6tBdzBDO62Pol8qWQGp/VJxusuviJFMsvq9bmWemqyX44rFgKfzFcCZ48Nk09eHwlm1mI6Ac+WJe0PKRfXPXjyvHrlXontHuF6qvNiUwRPhJJ2+wgnXlXVWoU4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qiDR9mRb; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="qiDR9mRb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 87B63C4CEEA; Mon, 23 Jun 2025 13:30:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750685440; bh=OP6Dt6USB7tKjJNkl23bT0dideAbwq0t3Kt0JvJyHKU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qiDR9mRbp0MjtF48qfveT8mVjKvpobyWRNxMDNRHsnQGOqjoiQaxOP2/T7Nq7GZ3a 68hb02diHNtwR8GqTfSwsW11eThzTEupErBKI2f1UGd+9NErWbrDyZKG54IUGswnAJ HgtFa5T+20NLH+b1okhtp9x4hVsZyWZyJh8Ozr9c= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Arnd Bergmann , Helge Deller Subject: [PATCH 5.4 120/222] parisc: fix building with gcc-15 Date: Mon, 23 Jun 2025 15:07:35 +0200 Message-ID: <20250623130615.708809214@linuxfoundation.org> X-Mailer: git-send-email 2.50.0 In-Reply-To: <20250623130611.896514667@linuxfoundation.org> References: <20250623130611.896514667@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Arnd Bergmann commit 7cbb015e2d3d6f180256cde0c908eab21268e7b9 upstream. The decompressor is built with the default C dialect, which is now gnu23 on gcc-15, and this clashes with the kernel's bool type definition: In file included from include/uapi/linux/posix_types.h:5, from arch/parisc/boot/compressed/misc.c:7: include/linux/stddef.h:11:9: error: cannot use keyword 'false' as enumeration constant 11 | false = 0, Add the -std=gnu11 argument here, as we do for all other architectures. Cc: stable@vger.kernel.org Signed-off-by: Arnd Bergmann Signed-off-by: Helge Deller Signed-off-by: Greg Kroah-Hartman --- arch/parisc/boot/compressed/Makefile | 1 + 1 file changed, 1 insertion(+) --- a/arch/parisc/boot/compressed/Makefile +++ b/arch/parisc/boot/compressed/Makefile @@ -21,6 +21,7 @@ KBUILD_CFLAGS += -fno-PIE -mno-space-reg ifndef CONFIG_64BIT KBUILD_CFLAGS += -mfast-indirect-calls endif +KBUILD_CFLAGS += -std=gnu11 OBJECTS += $(obj)/head.o $(obj)/real2.o $(obj)/firmware.o $(obj)/misc.o $(obj)/piggy.o