Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3325826imu; Sun, 11 Nov 2018 12:25:28 -0800 (PST) X-Google-Smtp-Source: AJdET5d/3kYaeBG7qQhXB/e7o1CVtu49xYKVY+UFhI0SMeTaDM5JuTPCzoy9eFuAoPDHlWNliA3G X-Received: by 2002:a62:a5b:: with SMTP id s88-v6mr18089995pfi.136.1541967928884; Sun, 11 Nov 2018 12:25:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541967928; cv=none; d=google.com; s=arc-20160816; b=hCRNTbkrycNGaO90LpeZ+M2zP+cob9xJRqCAh6dHa5iovdjt+aMEhZsnzqlEO1yUv3 4gDnSdc4sLP1/Sj/j2Azyen3fgX3zCuj9u85eDNBPHD3K/lzHrlVVvmWyCFFlRWbNROw AmMFsLRtxkinmCnkg5YCN4pgVlh4fAVkmm/EQbdbwAb8ltjHHiiwFgO4m1x1L0l/u53L WNFUFm6tAyj/puqTPoqXdZMLrdc77UhEtlSgbCaydlz4I5t9vdADhErIWhg34KuABD5z c1xrx0QSBXgVdcWZ1ac+V7GU5eotYXuH1IpcKtLtp7lm1nPb1WJ+qBTyQrbvYtaq/exG HCgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition; bh=A5ygMKsGFthKmeDey1aJGti9IAPjGdJpljlz0GxRc/s=; b=wAEGh1wkHo96KJF5u3jnu9NFwGT33pn0sRQspm7WyyXaga4zcb6mRmFGlLy6Rxotef QTMEY836YNbCeUjcT1OPkDbRB7D2oWxTsE7HenZ7HbXkFXQcOCds7NyTsHAD6MtkQdbE ZVkOduv/+Zz6R6j/2HNArNx2WSCjl0RdqVGvzq5V3hlSXMPEdD2xY/+EpoJlytaIjCPe S3FhSXEGUNPu5YEAioH8ZSjipAb6bZESd0joY6pbalaYk19JJ5aHW52f+Y20qTosXiHK qYOEnGO1HKAyrPAN/bTPXdnGOy0sOrKPYJZWSad28dGbGYeqOMPdweZbKnBrKYoiGFDt g92w== 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 z127-v6si13952166pgb.118.2018.11.11.12.25.13; Sun, 11 Nov 2018 12:25:28 -0800 (PST) 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 S1731162AbeKLFyS (ORCPT + 99 others); Mon, 12 Nov 2018 00:54:18 -0500 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:51728 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726508AbeKLFyS (ORCPT ); Mon, 12 Nov 2018 00:54:18 -0500 Received: from [192.168.4.242] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gLvt8-0000l8-JH; Sun, 11 Nov 2018 19:59:18 +0000 Received: from ben by deadeye with local (Exim 4.91) (envelope-from ) id 1gLvsP-0001Rl-OO; Sun, 11 Nov 2018 19:58:33 +0000 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, "David S. Miller" , "Florian Fainelli" Date: Sun, 11 Nov 2018 19:49:05 +0000 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) Subject: [PATCH 3.16 071/366] net: ethernet: davinci_emac: Fix printing of base address In-Reply-To: X-SA-Exim-Connect-IP: 192.168.4.242 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.61-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Florian Fainelli commit 5a04e8f81a4f55ce1c2b7b525744a187c99ba302 upstream. Use %pa which is the correct formatter to print a physical address, instead of %p which is just a pointer. Fixes: a6286ee630f6 ("net: Add TI DaVinci EMAC driver") Signed-off-by: Florian Fainelli Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- drivers/net/ethernet/ti/davinci_emac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/net/ethernet/ti/davinci_emac.c +++ b/drivers/net/ethernet/ti/davinci_emac.c @@ -2024,8 +2024,8 @@ static int davinci_emac_probe(struct pla if (netif_msg_probe(priv)) { dev_notice(&pdev->dev, "DaVinci EMAC Probe found device " - "(regs: %p, irq: %d)\n", - (void *)priv->emac_base_phys, ndev->irq); + "(regs: %pa, irq: %d)\n", + &priv->emac_base_phys, ndev->irq); } pm_runtime_put(&pdev->dev);