Message ID | 20231101002609.3533731-13-jim.cromie@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 DD729C4332F for <linux-arm-kernel@archiver.kernel.org>; Wed, 1 Nov 2023 00:27:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Zyo0gPaeZylTf7Pjy3vMoSdDlLlmSFc/NnDRTbXPJ+c=; b=Hd3C1PxhGdNH56 LasyMPDmHV9KbpnFTJA73WkuKfvEQTOvqAkPHo9Y+PfysIhQb0HNJOyJvVCrISboG2OdUQcoeQwfb scQlteDUh3/QawPqDTjxmHLmsJQys/9GnsdK73juvLLJJTzSFRT8Z6Wt7aP8elkoTcbSnh+APs0pK g6nNVXO2EVPpEEtdGwfx1A954h7dPVyQKd+0RAn5hN8EJe+Ta5i3gBXeCxLjAB/0mMkPJjMcO/UoA uZb+GlK+Sr3Pterz6Luz8VoHgitrWR88UxqelsLvk0D/NC3XImYo+r9tTmeBZF3x48Gn3NLlyR3YA bZ18/gBDdGi4S+7oF/eA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qxz4U-006OsW-0Q; Wed, 01 Nov 2023 00:26:58 +0000 Received: from mail-il1-x130.google.com ([2607:f8b0:4864:20::130]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qxz46-006ORJ-1x for linux-arm-kernel@lists.infradead.org; Wed, 01 Nov 2023 00:26:38 +0000 Received: by mail-il1-x130.google.com with SMTP id e9e14a558f8ab-352a22e1471so24290375ab.0 for <linux-arm-kernel@lists.infradead.org>; Tue, 31 Oct 2023 17:26:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698798394; x=1699403194; darn=lists.infradead.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=mLvXeLnsRUQ3/TUrQnBU04ibB7JIWTVa6JOjlgQ9hVM=; b=bdjvtn9rmLMBKTYKIhNyerxNgHTtiv+TRSwi86HiMjkN2i5OtiGP9g45jhEWBdMriX kfmGYMw4oTOBwqNUVEfT4e+02aBM9e2CjcFriJiC7buwj1Oej/HvWOy4/z0Njd/WN2Sw dTd/MCwK6L23l/16uuqUKNgu/sXDG4JaX5h89TF+cOze7/3UFtKSEr2GyZLq1JgLo/tm 7FNUZWsxJ82jruQT1ckuyvVmXuaP7AGSe5SgkmR8Yd94d4GzuEIdwwpH04DySRuDu2kd BtSlYjxgaKm8e4/U8WS2B/rSgOrbNKMx3gUYBJl+/ZjzyFv9k0JJTbl4z8JrjMnwEm1d 7lkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698798394; x=1699403194; 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=mLvXeLnsRUQ3/TUrQnBU04ibB7JIWTVa6JOjlgQ9hVM=; b=vTZSvS0ieLPm/G+Yjs9ddoBmstEaUonaNpgef5/3A72T7HoKDI17/NxEd1YVvfs8Sy BzQZMCjknNt8NRzXIj4rLO2gGgo350J3oSSrhJprEoHTmozgdAkrJJiHbn5wUtX8pDH+ jSyqNuzoGbLNg08vKjyIojS3HxNoGGVcPrxhxmGLMvoMkG3c19XA84g7qeMxwD9lFqd8 P/ntsatnSsy7SVD30xeaS3qF2m/fjYZYG95AMw4AofOXF1+hIootSorv0g5c9I6gkucJ WT3aIH+lM+nNLMbgepT3O1eZOPKrSVWnHyYfYOBmerWaOiHL7TgrDhZlmTmbdyJ1r27w yExQ== X-Gm-Message-State: AOJu0Yx/HK1xnnBGOmkQoOm4YGPoQnvZIfHNzlzTj7IECvuZifnbXbzp Cn7byFKH3my4OTR8+uBospI= X-Google-Smtp-Source: AGHT+IH246yK5XoAuq8aFwuTy3IhmHQfJeZAmtaH8z4ascPRKOZJiUIEKC/NefNQ28TvH8PRxfb+Ug== X-Received: by 2002:a05:6e02:b26:b0:351:5a77:f169 with SMTP id e6-20020a056e020b2600b003515a77f169mr18404169ilu.29.1698798394030; Tue, 31 Oct 2023 17:26:34 -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.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 17:26:33 -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 12/23] dyndbg: reduce verbose=3 messages in ddebug_add_module Date: Tue, 31 Oct 2023 18:25:58 -0600 Message-ID: <20231101002609.3533731-13-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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231031_172634_648189_601701D3 X-CRM114-Status: GOOD ( 11.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
fix DRM_USE_DYNAMIC_DEBUG=y regression
|
expand
|
diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c index 8beb98a831f5..45870a699507 100644 --- a/lib/dynamic_debug.c +++ b/lib/dynamic_debug.c @@ -1242,11 +1242,10 @@ static int ddebug_add_module(struct _ddebug_info *di, const char *modname) { struct ddebug_table *dt; - v3pr_info("add-module: %s.%d sites\n", modname, di->num_descs); - if (!di->num_descs) { - v3pr_info(" skip %s\n", modname); + if (!di->num_descs) return 0; - } + + v3pr_info("add-module: %s %d sites\n", modname, di->num_descs); dt = kzalloc(sizeof(*dt), GFP_KERNEL); if (dt == NULL) {
The fn currently says "add-module", then "skipping" if the module has no prdbgs. Just check 1st and return quietly. no functional change Signed-off-by: Jim Cromie <jim.cromie@gmail.com> --- lib/dynamic_debug.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)