Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2807861rdb; Tue, 12 Sep 2023 12:42:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEVBf1VFBZ2z2Z7BsDJbT6kRMgH2ccH0vte1I9WmYK39J5aM8eEtNUIpjnWYfUSg36swt5q X-Received: by 2002:a05:6a21:19e:b0:140:3cc7:b3a6 with SMTP id le30-20020a056a21019e00b001403cc7b3a6mr4696287pzb.4.1694547721602; Tue, 12 Sep 2023 12:42:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694547721; cv=none; d=google.com; s=arc-20160816; b=aIoWtKuAnHr0FqMgXJxtPji3A/RL860/S2WYVKQoU2WzTNq+gWq8Un8HFEvadQRzab JCpVFQlqizFE0IGi3rGmArccVsYvxVr0DXnucuPhzpwhA3UFQojjhK4CAJT3NRVKPNql EVyinesU+ElTljSlDO+Ln+uWXUsexa1YiCmUrI6tQJMXKbmj058y2cQSFVyqfDHaPq+0 2I9lvqiqrY+ylq6l65FCy1iBFsuZneissKY8c5D63mlLxN537YIqJFkhLKbnD9TpRkD6 KDhXZi5uL599kyh+HkmYDyYruKLEINVT+XORU3qNEw4tUdm9Yu+F0SK35WfwG09UH/Zt X91Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=jn3gYV6z0mHJzWuz6G6eyUwdrkRbzHbTqw/XH7fEH4s=; fh=i72iIOKsQa4bu5zjjqEcEzTdVgc3VMuUlXodJWSSQwY=; b=cheCbesyy/vt7bJ9sbPHy7knG0+88RRrFLB3tT30nu3w6R7XOhVLR7Fu8wCO7JV9r2 8Cza/LVQhWIU6DC4v44mowzRYoCTCPurwQxY0R1dKSYJ5+FhJ64SItIfr0unYwo1dqCi xtM/fRe2LsPKrWpd2npOT5wO/9HehO4cfoxK2PTf+tRcsIBk3H4XyVfEucRuykaMZ1Nc 9GVwJiRqcTFILdprrJim5kZNxjeFa/DtAqXChc2PJ5Yks1DLVXJ+xuXLf4sDCOR7Bxfy bks4lxit5tTyzg41uaA6XKIdtSUztU3OBz9+oZwGW6wtI1fW2yc9dFvyfFp19eo4wV2P i5zQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=jXSW4sr0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id l6-20020a639846000000b00577ae8b603fsi1225485pgo.314.2023.09.12.12.41.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 12:42:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=jXSW4sr0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id B64698119048; Tue, 12 Sep 2023 08:34:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236374AbjILPeK (ORCPT + 99 others); Tue, 12 Sep 2023 11:34:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236248AbjILPeB (ORCPT ); Tue, 12 Sep 2023 11:34:01 -0400 Received: from mail-qv1-xf31.google.com (mail-qv1-xf31.google.com [IPv6:2607:f8b0:4864:20::f31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75E3E10EB for ; Tue, 12 Sep 2023 08:33:57 -0700 (PDT) Received: by mail-qv1-xf31.google.com with SMTP id 6a1803df08f44-64ccdf8820dso25830616d6.1 for ; Tue, 12 Sep 2023 08:33:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1694532836; x=1695137636; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=jn3gYV6z0mHJzWuz6G6eyUwdrkRbzHbTqw/XH7fEH4s=; b=jXSW4sr0/V0TjTygldTr884ibK6jtHHyYxRV6nM1uAsrYMhRGlPYT5IV8wxSASiQt3 etjGNSVMhu9OE3YJ6Taca3oX5YOEBO8AH1muDseBgwvJBZPgGW7wvFhhovPvA2VVvYvi 7cIYUxtFUbsyGMxzcfNUGm8QCKQfdVFW8dIzAKgcEcy3bStwurtLo3txAKaYJWHG2/Ds jDpI9FyiEYuT9LF5bnbNrhBt4GdREQlewD7YDtkaJEYJ0Fmaw3Owsb0Y09JGEnu1fZqU mkx7I0agpaYsSJFNrXWo8vL7ZONfceEepwrEp7sAQ5mlMZZf6vJC1p+akXVskBatrkUx IFZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694532836; x=1695137636; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jn3gYV6z0mHJzWuz6G6eyUwdrkRbzHbTqw/XH7fEH4s=; b=u54P8skMOJbSGAVJrtMTzV5GkE7R3dKeczgmnegnXeyRgluvF5TgmRAkwi0vd/bBgF LWIzmuJYd5a4yBTjN9miHh2coZHXT1gi5hk9iUocjHEfwiPSWm7GtrJBnIxceWt3lxYU gSEMJBoucFnPzbtCc1jXvqjgufQbWVSeCHosgpyeAZNwjcL/g4Rmc2vag/VDPrIhGdgG 35mvUtZqT6CEKb0sOwI9SIXsvVQzVSnBbs0eT+ZaRJSTNuAC4Mcai+XBdZa9PdWiKLSA Iy+4m4z3oxrzASBQvZJyiY4LxbJVsaiFnXsPufpUSPimQUqMzWCkQ7YijeNIYLa8fVIx +ZQQ== X-Gm-Message-State: AOJu0Yw0VUC/S9S/UfcxpsTu2HqsW2qoH3X9cQWxqxGyD5f5YGGANoMM sbw3K+1C/AzZWzjVhBR6Ht0M5iFK1eXD8a92NOkg8A== X-Received: by 2002:ad4:5d4b:0:b0:635:da80:e53a with SMTP id jk11-20020ad45d4b000000b00635da80e53amr4483115qvb.12.1694532836379; Tue, 12 Sep 2023 08:33:56 -0700 (PDT) MIME-Version: 1.0 References: <20230912060801.95533-1-bgray@linux.ibm.com> <20230912060801.95533-2-bgray@linux.ibm.com> In-Reply-To: <20230912060801.95533-2-bgray@linux.ibm.com> From: Nick Desaulniers Date: Tue, 12 Sep 2023 08:33:42 -0700 Message-ID: Subject: Re: [PATCH v2 1/7] ia64: fix Python string escapes To: Benjamin Gray , Ard Biesheuvel Cc: linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, llvm@lists.linux.dev, linux-pm@vger.kernel.org, bpf@vger.kernel.org, linux-kselftest@vger.kernel.org, Jonathan Corbet , Ian Abbott , H Hartley Sweeten , Nathan Chancellor , Tom Rix , Jan Kiszka , Kieran Bingham , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , Adrian Hunter , linux-perf-users@vger.kernel.org, Todd E Brandt , Andrii Nakryiko , Mykola Lysenko , Shuah Khan Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 (agentk.vger.email [0.0.0.0]); Tue, 12 Sep 2023 08:34:13 -0700 (PDT) X-Spam-Status: No, score=-8.4 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email On Mon, Sep 11, 2023 at 11:08=E2=80=AFPM Benjamin Gray wrote: > > Python 3.6 introduced a DeprecationWarning for invalid escape sequences. > This is upgraded to a SyntaxWarning in Python 3.12, and will eventually > be a syntax error. > > Fix these now to get ahead of it before it's an error. > > Signed-off-by: Benjamin Gray > --- > arch/ia64/scripts/unwcheck.py | 2 +- Ard is proposing removing this script, along with the rest of the architect= ure: https://lore.kernel.org/linux-arch/20230911163129.3777603-2-ardb@google.com= / So this change can be dropped. > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/ia64/scripts/unwcheck.py b/arch/ia64/scripts/unwcheck.p= y > index 9581742f0db2..adc24152d3b9 100644 > --- a/arch/ia64/scripts/unwcheck.py > +++ b/arch/ia64/scripts/unwcheck.py > @@ -21,7 +21,7 @@ if len(sys.argv) !=3D 2: > > readelf =3D os.getenv("READELF", "readelf") > > -start_pattern =3D re.compile("<([^>]*)>: \[0x([0-9a-f]+)-0x([0-9a-f]+)\]= ") > +start_pattern =3D re.compile(r"<([^>]*)>: \[0x([0-9a-f]+)-0x([0-9a-f]+)\= ]") > rlen_pattern =3D re.compile(".*rlen=3D([0-9]+)") > > def check_func (func, slots, rlen_sum): > -- > 2.41.0 > --=20 Thanks, ~Nick Desaulniers