Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5399280rwl; Tue, 21 Mar 2023 18:38:26 -0700 (PDT) X-Google-Smtp-Source: AK7set8tJORlLUgw2QxnXVpS+pIvfYbpsGdweqHfCLHRRzoNGPCgEBwNzHrkhDyqou+ztqlpxIvx X-Received: by 2002:a17:906:dd:b0:933:2e79:4639 with SMTP id 29-20020a17090600dd00b009332e794639mr4594927eji.2.1679449106341; Tue, 21 Mar 2023 18:38:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679449106; cv=none; d=google.com; s=arc-20160816; b=uvCtk5f7ZGrZ8Pj2mr1OlTO+SyEJwYh/14WAuci5hRY1JDgn05zOvJFuHYmS3Cselk iOeuexko0rDtzJwXg1TLZ1IB13ALJNcKcf+hv5Wnqpi8UNXxr8pJmorLHl8ainYqBjXl iPazIM8NMSYlpbFhwwnIvEg9fzJvI1QsiK5ol+9uYNIjalLTTptxMxGB+aGCsv+3iAX3 E6jC23ibzM6wB93WTfELMjcMUDC3O7LakNlwcRkeTbTI7jWErRJDDZ7MamCSQ4fUEumT cI/QmXUmIcUjLhHkj7ev6aJUoTkMi4hURb+GzFdadIdJKbiigNV0kalZcQa/Uzrztb0M GnKA== 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=geHKdXSrTd+j0bEZzl4suSAJY2V13AlXRMEuZwesJq4=; b=rygS3McEKK/tgcP2sphWHhz1EDA1m2KJXifrRvPDQteq8YsgUBkznD4Oy/PHnPyMpo 5FnsySBgVq7xC8llCsKhwp2FfGaTObsrqU6TcYW19Syp24bHhccLBMROlPGUt5dN3RuV QTB8MF1G1cdqpadK86EZ+jt9D3YYceUmW1VsS4SCzbmMX+PwdmYPlvue1FZKfss0Qifm fmqxAdHuIIYSJQWQEVwQUPYTkqwmkMpbpKFvtfHCdQWWBefC7+bb2I07kRpGSXmyHl0J OFb3Tr7Y0K3+Bu8kVXrA2J3qXHHIgoO1Avk8Olg741Zn2ZeNb3o3GxePvrO4XKkNS86v HhHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Exufr2+F; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pg17-20020a170907205100b0092fd56751ffsi13498757ejb.420.2023.03.21.18.38.01; Tue, 21 Mar 2023 18:38:26 -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=@gmail.com header.s=20210112 header.b=Exufr2+F; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230161AbjCVBhO (ORCPT + 99 others); Tue, 21 Mar 2023 21:37:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230044AbjCVBg7 (ORCPT ); Tue, 21 Mar 2023 21:36:59 -0400 Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DDFC5A1AF; Tue, 21 Mar 2023 18:36:40 -0700 (PDT) Received: by mail-io1-xd30.google.com with SMTP id d14so4945371ion.9; Tue, 21 Mar 2023 18:36:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679448994; 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=geHKdXSrTd+j0bEZzl4suSAJY2V13AlXRMEuZwesJq4=; b=Exufr2+FbVYVB3TWRJVhvwsg8XcRWMUuRQptkHRHLVySLmV1zl7ipHgwLV1WPnAtfz 9s9W0Bf6jpkzFDFwuH7+Gim+gQsiRVzNT9VxjoEDBZdhBqUTnrYaMd0C7EcM/DicNDBd emCvxY2pqCAD6dF4vX1zHdw9EBswdlp333p46frCDHCIYwYHjogNnFuBgCbqx61+JlY7 QF41Rvi1utPIA6WEHJnef5WG91skX+HUGllM4t4nlg2yrTqTfDl68D1LrtQFbT9GXaJB PHWknxafPLiGb1RL6keJqd1kxW/4PkPWLqSX8/TVnUWD4FbBplxsvrmAplcjip3eJtia BYaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679448994; 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=geHKdXSrTd+j0bEZzl4suSAJY2V13AlXRMEuZwesJq4=; b=tblbSf0QcTZsSfhuuOzWSGJzuEnko1YCSuelYXRz95lZQUy+IrnUY3TNNBDDx7TsyK d7qgtrBXHU0k/7tFOydhKcbdooSFRLdnickvE+7i4KG1U2NGkhDcgbZrekiUeCe+4ETD vGxZDuU2Jviev61oBz3gbeU1J3eY0XtEztpsXqFCeyluUR99PfS4aG2PqdIN/Lhy/aqy P2adBIkCPZqZllurKkSpR9VFRn71/LMPg5hlef8FcHfR4IqwRx/FHQZrXcdJWb6dCmvL UAZdcctTJDBNi9B4M5tUFgZsEECxth1zYRVT77C7Uu3RP8UEEIu66RvayNL/drPHUV3y kBuw== X-Gm-Message-State: AO0yUKVKWOqvqMjCMOtqcCPI2PFNrrbFgvr9Cvhi8Be8K6+PCoNxozsR D86jYLu68xbCfmFAHDHhcaI= X-Received: by 2002:a5e:d60f:0:b0:74c:bb78:25d7 with SMTP id w15-20020a5ed60f000000b0074cbb7825d7mr3149817iom.19.1679448994193; Tue, 21 Mar 2023 18:36: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 a22-20020a6b6616000000b007530bbfa577sm3925058ioc.18.2023.03.21.18.36.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Mar 2023 18:36:33 -0700 (PDT) From: Jim Cromie To: mcgrof@kernel.org, linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Jim Cromie Subject: [PATCH 2/4] module: add symbol-name to pr_debug Absolute symbol Date: Tue, 21 Mar 2023 19:36:21 -0600 Message-Id: <20230322013623.251401-3-jim.cromie@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230322013623.251401-1-jim.cromie@gmail.com> References: <20230322013623.251401-1-jim.cromie@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 The pr_debug("Absolute symbol" ..) reports value, (which is usually 0), but not the name, which is more informative. So add it. no functional changes Signed-off-by: Jim Cromie --- kernel/module/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/module/main.c b/kernel/module/main.c index 39f267c40286..e248a3697ffb 100644 --- a/kernel/module/main.c +++ b/kernel/module/main.c @@ -1350,8 +1350,8 @@ static int simplify_symbols(struct module *mod, const struct load_info *info) case SHN_ABS: /* Don't need to do anything */ - pr_debug("Absolute symbol: 0x%08lx\n", - (long)sym[i].st_value); + pr_debug("Absolute symbol: 0x%08lx %s\n", + (long)sym[i].st_value, name); break; case SHN_LIVEPATCH: -- 2.39.2