From patchwork Mon Nov 20 22:49:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Cooper X-Patchwork-Id: 13462224 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 09218C197A0 for ; Mon, 20 Nov 2023 22:49:38 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.637324.993041 (Exim 4.92) (envelope-from ) id 1r5D53-00056g-K8; Mon, 20 Nov 2023 22:49:25 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 637324.993041; Mon, 20 Nov 2023 22:49:25 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1r5D53-00056Z-Gn; Mon, 20 Nov 2023 22:49:25 +0000 Received: by outflank-mailman (input) for mailman id 637324; Mon, 20 Nov 2023 22:49:24 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1r5D52-0004rh-US for xen-devel@lists.xenproject.org; Mon, 20 Nov 2023 22:49:24 +0000 Received: from esa1.hc3370-68.iphmx.com (esa1.hc3370-68.iphmx.com [216.71.145.142]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 0c51adc8-87f7-11ee-98e0-6d05b1d4d9a1; Mon, 20 Nov 2023 23:49:24 +0100 (CET) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 0c51adc8-87f7-11ee-98e0-6d05b1d4d9a1 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1700520564; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=1PNgt8ahr7MDW2ofRpWOPAJ3J7cBGmpTa8t/w1olBm4=; b=cB6uh9idqT38TQVQCvOrMmy4xS4QCdb2WpaxbNMvRq6bsoBm74EGSQKk 0srJzzIWIYXFMG/uHm5Z4XP18jNeYj9GDjIHFrFdTNbLrA2MEdR+PibE9 cH41JaMHu+mTzljL4lNyGPVFj1YppNlklfF5+TlnGd/KpS73qH/9+KeP/ c=; X-CSE-ConnectionGUID: WaXQkFtXSsexmHBFI/oWVg== X-CSE-MsgGUID: F6seg06jSYqecBNQuv675g== Authentication-Results: esa1.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none X-SBRS: 4.0 X-MesageID: 128662991 X-Ironport-Server: esa1.hc3370-68.iphmx.com X-Remote-IP: 162.221.159.70 X-Policy: $RELAYED X-ThreatScanner-Verdict: Negative IronPort-Data: A9a23:9Kyjaa3L40gdMDW5wPbD5S9xkn2cJEfYwER7XKvMYLTBsI5bp2ACx jYdCzqAP/reN2fwKtp3PtvgpE8CscDQn9I3SAI+pC1hF35El5HIVI+TRqvS04F+DeWYFR46s J9OAjXkBJppJpMJjk71atANlVEliOfQAOK6UbaYUsxIbVcMYD87jh5+kPIOjIdtgNyoayuAo tq3qMDEULOf82cc3lk8teTb9HuDgNyo4GlD5wVkPagR1LPjvyJ94Kw3dPnZw0TQGuG4LsbiL 87fwbew+H/u/htFIrtJRZ6iLyXm6paLVeS/oiI+t5qK23CulQRrukoPD9IOaF8/ttm8t4sZJ OOhF3CHYVxB0qXkwIzxWvTDes10FfUuFLTveRBTvSEPpqFvnrSFL/hGVSkL0YMkFulfPmh+z P82NAA2dR2TgsKc7pP8TdZSiZF2RCXrFNt3VnBIyDjYCbAtQIzZQrWM7thdtNsyrp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aOsww8sFTfSC+ZdBPx5eaqIrwE00CycsEgPidOCdaHQ6AkmroH4Byfw== X-IronPort-AV: E=Sophos;i="6.04,214,1695700800"; d="scan'208";a="128662991" From: Andrew Cooper To: Xen-devel CC: Andrew Cooper , Jan Beulich , =?utf-8?q?Roger_Pau_Monn=C3=A9?= , Wei Liu , Stefano Stabellini , Julien Grall , Volodymyr Babchuk , Bertrand Marquis , Michal Orzel , Roberto Bagnara , Nicola Vetrini Subject: [PATCH 0/6] xen: Enable -Wwrite-strings Date: Mon, 20 Nov 2023 22:49:06 +0000 Message-ID: <20231120224912.1421916-1-andrew.cooper3@citrix.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 I got carried away and fixed all remaining -Wwrite-strings issues I could reproduce in local builds. Pipeline in Gitlab: https://gitlab.com/xen-project/people/andyhhp/xen/-/pipelines/1079379918 Andrew Cooper (6): x86/setup: Make the loader variable const x86/setup: Rework cmdline_cook() to be compatible with -Wwrite-strings xen/efi: Make efi-boot.h compile with -Wwrite-strings arm/duart: make dt_uart_init() compile with -Wwrite-strings arm/platforms: Make compatbile with -Wwrite-strings xen: Enable -Wwrite-strings xen/Makefile | 2 +- xen/arch/arm/efi/efi-boot.h | 2 +- xen/arch/arm/platforms/brcm.c | 2 +- xen/arch/arm/platforms/exynos5.c | 2 +- xen/arch/x86/efi/efi-boot.h | 3 ++- xen/arch/x86/setup.c | 21 +++++++++++---------- xen/drivers/char/arm-uart.c | 12 ++++++++---- 7 files changed, 25 insertions(+), 19 deletions(-) base-commit: fa2da5bce90b3777aa7a323e1cf201c97b56d278 Acked-by: Stefano Stabellini