Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1667351rwd; Tue, 13 Jun 2023 12:18:32 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4pxJ36iv3bTvNGSzMMLdWqTlOVXN2/H0NgetwXSPXXPFZ4JYfKXXA4oUYEUb2Dy+f0l4Oa X-Received: by 2002:a19:d61a:0:b0:4f3:859c:a01d with SMTP id n26-20020a19d61a000000b004f3859ca01dmr6281999lfg.69.1686683911740; Tue, 13 Jun 2023 12:18:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686683911; cv=none; d=google.com; s=arc-20160816; b=OHq0uh/DRTQvc/e+HVV5Ylq9eC/eT7lFdl9kp2ImWlQzchFhJ6xrflaAnEMr6shMPZ 7+zC/DfZn5IDklC/a+7+onb323vrjkwD4TrKoqjY4H1w0P+9QqyIrtmAK1gY/+DUxBg6 xxPkuD3RKJXE/bruJMjK9LbYA+rtSyp03rD2pzb6ZLv1q0Coa8C8Dsy/3bXk0aB0c2SN MttY/OizKXVqjrKmdqHc+S3CqRM2Bmckt+TEkzlz8Q4e74UJy1UGiE/q4pkUXpU16PFD XxFihnyj9dWDGaY/fVRHDETTGbR67IPSVl7d6dj3in0HHjcyrgLLMbmLL2i/xAb3Nqo9 9tMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=SrpgzuH0KR9yBiTvlVofkEktvkwwH5sLm2fMqoWHD5Y=; b=0dhPEswRX0QVJOEcAdfpEGpdChR1/aFVhTvDAAcwVogJ0GNCKYoFH6R9wgHIc2CpeG FqE9CTbulWLBeXIG729DNvPJyBQYuSzhq8w8L9/EFSYKrK+D3Bwe9R13NbwKoSzYi6hK QCVjE+cdwEdtzI12+95CA6r14KkglIsNtLwtWLrwNeZuLm8xeTT3Ll2PBjrZRi5CwC8G wbaTaPgC9Yj4ejCyecUAEnrSJ+zHs20fT8OwnMpLncHa4+dqcCTquLVCx9cVBHrmg98E A2AUB+KtCBhjhjdec2qylumEnHUgF3/Cax9dkNSuZCFHZtaAQ5ZNNnK3TuHVxXIBFQZH hxjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=L9yh2Ai3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c13-20020aa7c74d000000b00510b7b71b6dsi7904203eds.520.2023.06.13.12.17.44; Tue, 13 Jun 2023 12:18:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=L9yh2Ai3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240112AbjFMTMN (ORCPT + 99 others); Tue, 13 Jun 2023 15:12:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233057AbjFMTMJ (ORCPT ); Tue, 13 Jun 2023 15:12:09 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A180292 for ; Tue, 13 Jun 2023 12:12:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Content-Type:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-To:Resent-Cc: Resent-Message-ID:In-Reply-To:References; bh=SrpgzuH0KR9yBiTvlVofkEktvkwwH5sLm2fMqoWHD5Y=; t=1686683527; x=1687893127; b=L9yh2Ai3tnqdzXvMDzeif6BWzWw0fxn8jn0fd97zCgMCZLj8q5hBMga3E+kl5t9bnMxyuxCdwho /g3wBQHDAGjGDN5NdUM3CG+UHjUc4v1FC3yLVVfi91l+wubBPw2/LUG4BzqKq3z+zN/NbvykH5+Fj WCigeAizo+ILcGopGQy8rplvrobyS2r8JdWLE7Fk1LB9HdbqcKGbtQ6IdQYeKhT0rMEFucIZC3AnT +9YklRYgMYBuxsMol0GRHDwUJPilBdASxxYCkFytG1VsZdJRyDNiWVjdyLUj2K4Myrnu90CYZPe3f Q68ul3O+GTRNcWvn89iwVeccIXb/Y99gF5Lg==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from ) id 1q99Qx-005B5P-30; Tue, 13 Jun 2023 21:12:04 +0200 From: Johannes Berg To: linux-kernel@vger.kernel.org Cc: Jan Kiszka , Kieran Bingham , Christian Brauner , Johannes Berg Subject: [PATCH] gdb: linux: make SB_* constants gdb-parsed Date: Tue, 13 Jun 2023 21:11:59 +0200 Message-Id: <20230613211159.b1faefb1a1bd.Ie873f66db5555c014c4afc15678e4fd5cfeca226@changeid> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Johannes Berg These now contain "UL" suffixes due to the use of BIT(), so they need to be parsed by gdb since python doesn't understand that. Also fix a comment typo while at it. ticket=none Fixes: f15afbd34d8f ("fs: fix undefined behavior in bit shift for SB_NOUSER") Signed-off-by: Johannes Berg --- scripts/gdb/linux/constants.py.in | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/gdb/linux/constants.py.in b/scripts/gdb/linux/constants.py.in index 471300ba176c..646fffddd862 100644 --- a/scripts/gdb/linux/constants.py.in +++ b/scripts/gdb/linux/constants.py.in @@ -48,14 +48,14 @@ if IS_BUILTIN(CONFIG_COMMON_CLK): LX_GDBPARSED(CLK_GET_RATE_NOCACHE) /* linux/fs.h */ -LX_VALUE(SB_RDONLY) -LX_VALUE(SB_SYNCHRONOUS) -LX_VALUE(SB_MANDLOCK) -LX_VALUE(SB_DIRSYNC) -LX_VALUE(SB_NOATIME) -LX_VALUE(SB_NODIRATIME) +LX_GDBPARSED(SB_RDONLY) +LX_GDBPARSED(SB_SYNCHRONOUS) +LX_GDBPARSED(SB_MANDLOCK) +LX_GDBPARSED(SB_DIRSYNC) +LX_GDBPARSED(SB_NOATIME) +LX_GDBPARSED(SB_NODIRATIME) -/* linux/htimer.h */ +/* linux/hrtimer.h */ LX_GDBPARSED(hrtimer_resolution) /* linux/irq.h */ -- 2.40.1