From nobody Wed Nov 27 18:29:23 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1697449301; cv=none; d=zohomail.com; s=zohoarc; b=YmhcwHdVeqr5yKP6dQ9hfT4/dS9CuX+3sRNoxs5XSPUYvsvqNgO7saroJ5lny4UGfBoWXLVnBOMfCryR6iO3G8cVBDUUwspFaVjx6B8xKHTD/Zmka15DhzKB0a3b4tCP2+InxkB51VyYaSOyZf3kw8AkOyixR8iTvLUg8kj1dII= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1697449301; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=kigZ1gdB5H+XjWPX4HIf/8kVEM1VbLJvt/chkAEw+1Y=; b=RVyARZxDlv4XlOSaqRUnND6U4NPyfcYV+4R6Gk94B/Io1M11TH4oVRoserVo7+BgnTncyNjz+7B3+mIqZ7C4wgr91CmwEtmiAzru3RNgyDNPGmEKSmN/RE59f5zkYCKmk5jXh1pIO05or6ZOfYe9hAay9nScZYeZ347KjCm0EsI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1697449301407732.7080064016677; Mon, 16 Oct 2023 02:41:41 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qsK5N-0007Rn-Ke; Mon, 16 Oct 2023 05:40:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qsK5L-0007MG-Ox for qemu-devel@nongnu.org; Mon, 16 Oct 2023 05:40:27 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qsK5J-0002dY-Rf for qemu-devel@nongnu.org; Mon, 16 Oct 2023 05:40:27 -0400 Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-79-CeEe8gdsMKOA92VDYzhI_g-1; Mon, 16 Oct 2023 05:40:22 -0400 Received: by mail-lf1-f72.google.com with SMTP id 2adb3069b0e04-50796a3ac70so3146714e87.3 for ; Mon, 16 Oct 2023 02:40:22 -0700 (PDT) Received: from [192.168.10.118] ([2001:b07:6468:f312:63a7:c72e:ea0e:6045]) by smtp.gmail.com with ESMTPSA id bt8-20020a0564020a4800b0053e4783afbasm4529077edb.63.2023.10.16.02.40.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 02:40:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1697449225; h=from:from: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; bh=kigZ1gdB5H+XjWPX4HIf/8kVEM1VbLJvt/chkAEw+1Y=; b=WgIYvUvgK+bGnhMlxXJ4scQIH/uBShj+oBUORBc06lA2fj+TH9RuJIoURe/sVMrwP2AlU8 mGa6NOD+0TnnvdYe2YQHBi7WDLOTMpEY1VezEHJ9e6ZjDqkm9AE9s7DDgWSfC9efR2mL6Q ipEWCZq/hViBcT1GMVJV2yI2d0pdd1M= X-MC-Unique: CeEe8gdsMKOA92VDYzhI_g-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697449220; x=1698054020; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kigZ1gdB5H+XjWPX4HIf/8kVEM1VbLJvt/chkAEw+1Y=; b=TLKs4CQ58Esq5knLCViSvmDJJirmB+exxVC6VYIA0Ved5EMtaUHVWxX3Ao5LGVag4H 41Brwdxc5fdjOKDPRgYZueEkAuIOSRKOarfkPa+NMmrfO9+fJYjrI4DHu4PkRjlglGwr QYUSIBOuLABtn2x6Mh/RWR3ldinfy2uvCc/klyM5x8mr8U2qYxwLfZsIDWLJ8UGrZOZ4 m4QK0YliN/XXaVmSGlxYExAuBw6QYRx5KwfCIQISKvgfExDXTfl7kPd3D3JOvXk8t/0M XCzYrQTcaw7iWstr5CyKDKlg8RE3JNPgc5/5TiwgcsZf8rR4B3BpEGPuMYFI+QnpZdWr U/Cw== X-Gm-Message-State: AOJu0YzGg9wsxSt4PE+IMjXd5b20buftrQqwTjswTasGQAaKwFvZj79c ORiD/geItJKnREwccck0Wv4E6pWmg40Snj7oziTWAdnwfG2Ep9cwPG+Sg1Ozv06oYm6ci8fWsM5 Cpe7w9tz13arVgIvJgw/iNQtuh7+7cZ9tWhG3a8pgI8m57narRNYkXxZ9H+kroLZKS3iVPU2FGH A= X-Received: by 2002:a05:6512:794:b0:502:cc8d:f1fc with SMTP id x20-20020a056512079400b00502cc8df1fcmr24450511lfr.37.1697449220648; Mon, 16 Oct 2023 02:40:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHq6IQTY12+K3Foy9aJtYmNjNFklSwiLQUq6l9Z4eNO7JaJ03SFEksijgqJNE9zyVR+IsyBxw== X-Received: by 2002:a05:6512:794:b0:502:cc8d:f1fc with SMTP id x20-20020a056512079400b00502cc8df1fcmr24450498lfr.37.1697449220232; Mon, 16 Oct 2023 02:40:20 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Cc: qemu-stable@nongnu.org Subject: [PATCH] target/hexagon: avoid invalid escape in Python string Date: Mon, 16 Oct 2023 11:40:13 +0200 Message-ID: <20231016094016.173598-2-pbonzini@redhat.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1697449302370100001 Content-Type: text/plain; charset="utf-8" This is an error in Python 3.12; fix it by using a raw string literal. Cc: qemu-stable@nongnu.org Signed-off-by: Paolo Bonzini --- target/hexagon/hex_common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/hexagon/hex_common.py b/target/hexagon/hex_common.py index dce1b852a7b..0da65d6dd6a 100755 --- a/target/hexagon/hex_common.py +++ b/target/hexagon/hex_common.py @@ -45,7 +45,7 @@ def uniquify(seq): immre =3D re.compile(r"[#]([rRsSuUm])(\d+)(?:[:](\d+))?") reg_or_immre =3D re.compile( r"(((?