Message ID | 20231101002609.3533731-3-jim.cromie@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:abcd:0:b0:403:3b70:6f57 with SMTP id f13csp105729vqx; Tue, 31 Oct 2023 17:27:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHamRN0eskOUKnqG2pAUIXVFTVI1DEYG5YzNZmppThERVRWnMBG5c58opKnz8Ew4h3MOrFO X-Received: by 2002:a81:aa06:0:b0:5a7:bb6e:796d with SMTP id i6-20020a81aa06000000b005a7bb6e796dmr15348985ywh.19.1698798422157; Tue, 31 Oct 2023 17:27:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698798422; cv=none; d=google.com; s=arc-20160816; b=I78RjsAu/TTaE4+qeDTcmzEWbC0RLMgH2thIWk+wYXsIKxHbG2uVpQT3FQOGnQJfLX G5h3mdT5ctQlLjo5WJvWsDbVz4rUhU7tz3lepaOBlIiavlVesoQZWiqb1/Lj1XdfNJyc /2qLHCSt1bYOOtItgYd1jpI7WFZCASWazm+pZeoPSxb9xD+bMrXK6gCv/AC91dMtx+HN ah/wTlcDMms1/kdNDkmbUenXlr4BBoq/3MUgz9E/cleP291vXkVefgRE/Hq+R78V8TqT TfXXT8SxHNmgvyyDfvnnjA7nfc7uTeiT7+qnD9t3N20aV3I+V03jQe49KpivfWDH95TR QHWw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5ctyB3lbzkdQhDzqOoTWBErv3Q5efkvJrKvFBj8oTC8=; fh=LGQr+SO/7OmyUHhH/RK8Es07u6g66MsKKa5McGg6VX4=; b=Wh+ZbsS7xVUaUmPtkpSqcz/NKoRrIHBzJDl01GfjT+B0vpNB4VrP58b3WFHXGYfXn8 4OG4xHmxadmCqebWRWD0Fb2uOo5geridUJ4MUYSuTMTamceNTXTFQQY0CpHhFizEy7hE 3SDkhrAirnE4E8muFWdGpmd5z+Huj7ddJ449QyPFqbBegriXOlMBQHiYzR0wAl14ktbb 8qNFPKADUlIp4w/7LNgYkKcl+FGfEabCjYqm4Q4Yr8UPqkLmhwhafwWe7QwfwzvCYSBA ZlbkZIke4PLYulV43VNG89C5ASs4KeCP7Pq0KQhIRXzUacvyluHjhfC+0oTuAn+kvwDK gZiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=T1TYgNLC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id u31-20020a63455f000000b005824bad8f83si1833638pgk.846.2023.10.31.17.27.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 17:27:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=T1TYgNLC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 77B9D80CF51E; Tue, 31 Oct 2023 17:26:55 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376925AbjKAA02 (ORCPT <rfc822;gah0developer@gmail.com> + 34 others); Tue, 31 Oct 2023 20:26:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376902AbjKAA0W (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 31 Oct 2023 20:26:22 -0400 Received: from mail-il1-x134.google.com (mail-il1-x134.google.com [IPv6:2607:f8b0:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDAC6F9; Tue, 31 Oct 2023 17:26:20 -0700 (PDT) Received: by mail-il1-x134.google.com with SMTP id e9e14a558f8ab-359398abeb5so3515525ab.1; Tue, 31 Oct 2023 17:26:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698798380; x=1699403180; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=5ctyB3lbzkdQhDzqOoTWBErv3Q5efkvJrKvFBj8oTC8=; b=T1TYgNLCoHtu+HTPvUzm/RXPmmw0WoZzQx8QczSVib/S2OxXgHQDhyGx0QpuSxcGH7 N7sgt1Afi1kHvYzkx7B22QL7uXlQn18I+iO9u2efuQ9JfboWHJHmYpR5MSjQCL0gVsoF 8waLsryWKEQg0+lxIOtBm7T0ti1dOPcDb1U/9ussg5Kil7Af7U3J38YXbNDxqWZL9MN1 kCyUxjSYFN2zLIJBgW6Vz391+XmI5tLZfjZSW1Fcv91KfeDwfcFNbxsm3I0fcVjcRyu1 r15NT67zbCNqZSsKnX+eXeKGNVm4LlkqGw9kYsPgvHVeVPPPLmjXccEppUuCMa1Bq/v8 KJ6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698798380; x=1699403180; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5ctyB3lbzkdQhDzqOoTWBErv3Q5efkvJrKvFBj8oTC8=; b=M5QDo80nTaFKkvNpyn09XA42vTxkTX2Dpeyip3eBmC7p2F8tKdHdwgPreZdYnumhfF KpWub9doE/YzPs2hQ3ofJcGeO0HQz9ykT31/yN7mN5IU4ZZ4pCsVcvDtmpyo9F9bg89X qfORFnocIXxbNg4PE6LNNfUiD6CcTbHayqsPEZS6ynPcrISnlzxq6iYYlshaE4cRP3eq 2Q79AblSd1F8r1FSxuU+WZFdPTYEUCKRKj7EtOf0oL1liFhgOV/TYeEVIBSyPS/mcOHl yVqD03C8JKBxD+mBl/jTeWsozNM4ljbHGNOe0R5eF9kIFJTm0xZHwjU46Io0sUhMvZtk DUAQ== X-Gm-Message-State: AOJu0YxPsZ7iMyodnnvyQ6JHPSa/3C+xfQkwcSiiEQ6chZPpBsalKuHd VTOOfZJmxcdnMyIaWR3l+YIsMlRx03LdAQ== X-Received: by 2002:a05:6e02:308d:b0:359:3ee6:a909 with SMTP id bf13-20020a056e02308d00b003593ee6a909mr2009828ilb.13.1698798380022; Tue, 31 Oct 2023 17:26:20 -0700 (PDT) Received: from frodo.. (c-73-78-62-130.hsd1.co.comcast.net. [73.78.62.130]) by smtp.googlemail.com with ESMTPSA id t1-20020a92c901000000b00357cc8df1d5sm141701ilp.68.2023.10.31.17.26.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 17:26:19 -0700 (PDT) From: Jim Cromie <jim.cromie@gmail.com> To: linux-kernel@vger.kernel.org, jbaron@akamai.com, gregkh@linuxfoundation.org, dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, intel-gvt-dev@lists.freedesktop.org, intel-gfx@lists.freedesktop.org Cc: lb@semihalf.com, linux@rasmusvillemoes.dk, joe@perches.com, mcgrof@kernel.org, daniel.vetter@ffwll.ch, jani.nikula@intel.com, ville.syrjala@linux.intel.com, seanpaul@chromium.org, robdclark@gmail.com, groeck@google.com, yanivt@google.com, bleung@google.com, linux-doc@vger.kernel.org, quic_saipraka@quicinc.com, will@kernel.org, catalin.marinas@arm.com, quic_psodagud@quicinc.com, maz@kernel.org, arnd@arndb.de, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, mingo@redhat.com, jim.cromie@gmail.com Subject: [PATCH v7d 02/23] dyndbg: reword "class unknown," to "class:_UNKNOWN_" Date: Tue, 31 Oct 2023 18:25:48 -0600 Message-ID: <20231101002609.3533731-3-jim.cromie@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231101002609.3533731-1-jim.cromie@gmail.com> References: <20231101002609.3533731-1-jim.cromie@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 31 Oct 2023 17:26:55 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781319254220785241 X-GMAIL-MSGID: 1781319254220785241 |
Series |
fix DRM_USE_DYNAMIC_DEBUG=y regression
|
|
Commit Message
Jim Cromie
Nov. 1, 2023, 12:25 a.m. UTC
This appears in the control-file to report an unknown class-name, which
indicates that the class_id is not authorized, and dyndbg will ignore
changes to it. Generally, this means that a DYNDBG_CLASSMAP_DEFINE or
DYNDBG_CLASSMAP_USE is missing.
But the word "unknown" appears in quite a few prdbg formats, so thats
a suboptimal search term to find occurrences of the problem. Thus
change it to "_UNKNOWN_" which properly shouts the condition.
Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
---
lib/dynamic_debug.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c index 6fba6423cc10..ceb3067a5c83 100644 --- a/lib/dynamic_debug.c +++ b/lib/dynamic_debug.c @@ -1151,7 +1151,7 @@ static int ddebug_proc_show(struct seq_file *m, void *p) if (class) seq_printf(m, " class:%s", class); else - seq_printf(m, " class unknown, _id:%d", dp->class_id); + seq_printf(m, " class:_UNKNOWN_ _id:%d", dp->class_id); } seq_puts(m, "\n");