From patchwork Fri Feb 9 02:10:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaedon Shin X-Patchwork-Id: 10208209 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 305F460236 for ; Fri, 9 Feb 2018 02:11:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1AB71297A0 for ; Fri, 9 Feb 2018 02:11:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0F130297A2; Fri, 9 Feb 2018 02:11:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8A189297A0 for ; Fri, 9 Feb 2018 02:11:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=bXslk6c/GAqexV8ffFYu5EZNmBdsZge0NEwJlM0IWwA=; b=N4U AyRCA3JBZQcxx8st3Lw79Ps7sUs2vEifZxoONlF4u75OL2YfTB97lY98AD4klstj35pkDPAoyRGoU gMst10lV4EWzYeTDTCqKcq5trzhLsntBdRkDYOmwcnGLtdIyijcdazNsD4Um6OwMPzfejT3ZE6iN5 uJy3oY8bN8mNJUROn85/uSQy1U5SNIVt4x1X5hJ/BgZhAdo+py93H3tlOgnEUT9wS+fYSVbhQpZ2F fZzP4vLoomMteb9h9ky6TRVGPOYo7L1k7IY6YQxWSqfscMaV3MX4EmSqfEntX7O6bu4Q7NEwbX/A/ ekZls6tCLMfDPyc4sn6y4Vnmu/gfRxg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ejy9f-0004Ms-Qe; Fri, 09 Feb 2018 02:11:11 +0000 Received: from mail-pg0-x242.google.com ([2607:f8b0:400e:c05::242]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ejy9c-0004LT-HJ for linux-arm-kernel@lists.infradead.org; Fri, 09 Feb 2018 02:11:10 +0000 Received: by mail-pg0-x242.google.com with SMTP id g2so2652439pgn.7 for ; Thu, 08 Feb 2018 18:10:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=465ADEDqd6gnMa+m44C7Iat5vnXRvIOYZZWHJapYBE4=; b=Tm/zsTOrcdy725k2QGzQlaOupfOZrFaDNDP5Z6BpJ6L6pF+ZUqwXz0BBAbF2h7NCyt 6Kg0vRxL8l092LcZjlyHWzACeKwUAqLcLKTkO2t6qaSwvYFbcNXD//p6keTWS6yg5S/X yna7XhNIFuGZyKewhsmRcidSWN4b5UlY86Odj4h0sp9k+apgBtwhKfGVOuWQFRfFdKdP 2ovT/DWummeZUdEltwynlA0AIP3UzjmLW8glTk+J2SIi4wcVqui+T97DWTv0kU49OaS3 DQc7yk/Ju38n4ZadJnqak+F2Cz1zJzCdpSDjvCXd0GWydJewwCK5783lS5kDrPUfyHce lHTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=465ADEDqd6gnMa+m44C7Iat5vnXRvIOYZZWHJapYBE4=; b=BTM7lQiD8CnNGh3QiXm84ONZ9ZeksmBm/vUUK9Pgo7YU+Ty4cQ27ZNg8VJoU2xxTN9 ICgDV5F96oSNdfUJTm5pe6DkEkHl8jvxddpw6BM7yZ3eY0paPLWKYdwIYfMLiFjznE39 SeHhgdlvMAGPwhJeB57wQ3R/dfvVIRFi6woK10DbGyTgtnU+m3wz5WHH0+Xrw++fXOqg DQ2ZypAiDEaNVnQiqmDMxpRc0pOb4ui+egBTVTSZbpWMrj3IqhRokmkNDCB0T3TqlSwf /M3jYE6aUIRnqldSftE4/qGFIYXpFUZqUUO7J9hjctEMIyh6Dmal/2Vb27ufNDf9AN7Y KrwA== X-Gm-Message-State: APf1xPDB9Y6R9GXWQHo58VB0exkdgm815FJyQV3t1JXsT7D/5OBjR1v2 zzWPuHum3gfMh4nPbat7UkQ= X-Google-Smtp-Source: AH8x225+0a4woUk1KBd7b3+yeCbliUYP2Ncz76I8OMKbHyV0UYEaO866Le41XWOCmNyQWtBu38kk+w== X-Received: by 10.98.141.208 with SMTP id p77mr1099514pfk.5.1518142256837; Thu, 08 Feb 2018 18:10:56 -0800 (PST) Received: from localhost.localdomain ([125.130.116.2]) by smtp.gmail.com with ESMTPSA id e9sm2240413pgv.14.2018.02.08.18.10.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Feb 2018 18:10:56 -0800 (PST) From: Jaedon Shin To: Thomas Gleixner , Jason Cooper , Marc Zyngier , Florian Fainelli Subject: [PATCH] irqchip: Use %px to print pointer value Date: Fri, 9 Feb 2018 11:10:31 +0900 Message-Id: <20180209021031.20631-1-jaedon.shin@gmail.com> X-Mailer: git-send-email 2.16.1 X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-mips@linux-mips.org, Kevin Cernekee , linux-kernel@vger.kernel.org, Jaedon Shin , bcm-kernel-feedback-list@broadcom.com, Gregory Fong , Brian Norris , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Since commit ad67b74d2469 ("printk: hash addresses printed with %p") pointers printed with %p are hashed. Use %px instead of %p to print pointer value. Signed-off-by: Jaedon Shin --- drivers/irqchip/irq-bcm7038-l1.c | 2 +- drivers/irqchip/irq-bcm7120-l2.c | 2 +- drivers/irqchip/irq-brcmstb-l2.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/irqchip/irq-bcm7038-l1.c b/drivers/irqchip/irq-bcm7038-l1.c index 55cfb986225b..f604c1d89b3b 100644 --- a/drivers/irqchip/irq-bcm7038-l1.c +++ b/drivers/irqchip/irq-bcm7038-l1.c @@ -339,7 +339,7 @@ int __init bcm7038_l1_of_init(struct device_node *dn, goto out_unmap; } - pr_info("registered BCM7038 L1 intc (mem: 0x%p, IRQs: %d)\n", + pr_info("registered BCM7038 L1 intc (mem: 0x%px, IRQs: %d)\n", intc->cpus[0]->map_base, IRQS_PER_WORD * intc->n_words); return 0; diff --git a/drivers/irqchip/irq-bcm7120-l2.c b/drivers/irqchip/irq-bcm7120-l2.c index 983640eba418..1cc4dd1d584a 100644 --- a/drivers/irqchip/irq-bcm7120-l2.c +++ b/drivers/irqchip/irq-bcm7120-l2.c @@ -318,7 +318,7 @@ static int __init bcm7120_l2_intc_probe(struct device_node *dn, } } - pr_info("registered %s intc (mem: 0x%p, parent IRQ(s): %d)\n", + pr_info("registered %s intc (mem: 0x%px, parent IRQ(s): %d)\n", intc_name, data->map_base[0], data->num_parent_irqs); return 0; diff --git a/drivers/irqchip/irq-brcmstb-l2.c b/drivers/irqchip/irq-brcmstb-l2.c index 691d20eb0bec..6760edeeb666 100644 --- a/drivers/irqchip/irq-brcmstb-l2.c +++ b/drivers/irqchip/irq-brcmstb-l2.c @@ -262,7 +262,7 @@ static int __init brcmstb_l2_intc_of_init(struct device_node *np, ct->chip.irq_set_wake = irq_gc_set_wake; } - pr_info("registered L2 intc (mem: 0x%p, parent irq: %d)\n", + pr_info("registered L2 intc (mem: 0x%px, parent irq: %d)\n", base, parent_irq); return 0;