Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3525081ybi; Tue, 18 Jun 2019 02:10:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqxD3Ho2MYbhTsdQxYCgCbsNlS6zYYneKVeKOvL5wvHDiz0RpapkWk4MD6XgmogJ+L6v5+77 X-Received: by 2002:a17:90a:214e:: with SMTP id a72mr4115968pje.0.1560849005611; Tue, 18 Jun 2019 02:10:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560849005; cv=none; d=google.com; s=arc-20160816; b=Luoc2qGXTtPY2lhuaYal9w72xPEbdqP+Ug4fX9Ehgyr6Akt6mSiEAf3LckmLFqxujE nCZNr/8y8ev/ZCLsCeaiZG2fTeIlsvH+lpxmjqYYJS9i5ExdlxLp6aoTLv+tjIHSqypu hnyes4/0FHxp9zDXWaPd5Vx6W2X56B5O1p9taFrvVluR8c5R2aFxczifAhrBJSkeqvOg bSGHW27qt7iQFAdAqBaaW0TqsxUAZWSi4qxVLpblFxh+BEPKt5DVjZEuKWHQ7jlleASz S8olEJsL3k8evecv+7xWoGt0P4oCSSi6KLEruA8EBCRw9cK8xxczvoQVnRM/nw6g2iUT t3YA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=OZyAydcuCRC9uVUky105dgApnPFfgWSo6Coxnze11LA=; b=Jw5faYXc/MgU8QG0gZIs1wkTOaQJpWby9TtWnqJDbxOhzE0q1K+qfRDzSrBhsKA+ez QYhBu83YDSr8XkFRP2ED1q0zdgUkROKzD7f6cXj/yrSTkHqJmG+3d+VJYwU6rx9QSNo9 icbEXzS8dyQEqLyud7Vj/0vYxy1uLgKUCft2RDDvD0E9ZPN0gDkr8LFPt2q9A1WBAMZE zeJFT9kyV8F6cUaVDPnllP4ObHbIHVjqeJXPkv1XwbbhqW1q/AR1CR3nCloteAtzh1F0 kuDouEeoMCHMtdPLi3QinJmzhiqZDHe1bBSNwgKvfTFLZT4kEz/7E7151NsxhPayCCCF zZmg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 97si12514707ple.161.2019.06.18.02.09.49; Tue, 18 Jun 2019 02:10:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729398AbfFRJIA (ORCPT + 99 others); Tue, 18 Jun 2019 05:08:00 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:44118 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728754AbfFRJIA (ORCPT ); Tue, 18 Jun 2019 05:08:00 -0400 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 56F96EED4A9EEE8FAC4D; Tue, 18 Jun 2019 17:07:57 +0800 (CST) Received: from localhost.localdomain.localdomain (10.175.113.25) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.439.0; Tue, 18 Jun 2019 17:07:48 +0800 From: Kefeng Wang To: Marc Zyngier , Thomas Gleixner , Jason Cooper , CC: , Kefeng Wang Subject: [PATCH v2] irqchip/mbigen: stop printing kernel addresses Date: Tue, 18 Jun 2019 17:15:05 +0800 Message-ID: <20190618091505.151466-1-wangkefeng.wang@huawei.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190618032202.11087-1-wangkefeng.wang@huawei.com> References: <20190618032202.11087-1-wangkefeng.wang@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.113.25] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org After commit ad67b74d2469d9b8 ("printk: hash addresses printed with %p"), it will print "____ptrval____" instead of actual addresses when mbigen create domain fails, Hisilicon MBIGEN-V2 HISI0152:00: Failed to create mbi-gen@(____ptrval____) irqdomain Hisilicon MBIGEN-V2: probe of HISI0152:00 failed with error -12 dev_xxx() helper contains the device info, HISI0152:00, which stands for mbigen ACPI HID and its UID, we can identify the failing probed mbigen, so just remove the printing "mgn_chip->base", and also add missing "\n". Signed-off-by: Kefeng Wang --- drivers/irqchip/irq-mbigen.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/irqchip/irq-mbigen.c b/drivers/irqchip/irq-mbigen.c index 98b6e1d4b1a6..c0f65ea0ae0f 100644 --- a/drivers/irqchip/irq-mbigen.c +++ b/drivers/irqchip/irq-mbigen.c @@ -355,8 +355,7 @@ static int mbigen_device_probe(struct platform_device *pdev) err = -EINVAL; if (err) { - dev_err(&pdev->dev, "Failed to create mbi-gen@%p irqdomain", - mgn_chip->base); + dev_err(&pdev->dev, "Failed to create mbi-gen irqdomain\n"); return err; } -- 2.20.1