From patchwork Thu Nov 15 20:09:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 10684987 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3FB5814E2 for ; Thu, 15 Nov 2018 20:10:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 238272D1BE for ; Thu, 15 Nov 2018 20:10:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 116E82D1C2; Thu, 15 Nov 2018 20:10:09 +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=-7.9 required=2.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AAB8C2D1BE for ; Thu, 15 Nov 2018 20:10:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725809AbeKPGTX (ORCPT ); Fri, 16 Nov 2018 01:19:23 -0500 Received: from mout.gmx.net ([212.227.15.18]:57429 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725787AbeKPGTX (ORCPT ); Fri, 16 Nov 2018 01:19:23 -0500 Received: from ls3530.dellerweb.de ([92.116.174.227]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MTTKZ-1fw8DO45tX-00SPRJ; Thu, 15 Nov 2018 21:10:02 +0100 Date: Thu, 15 Nov 2018 21:09:59 +0100 From: Helge Deller To: linux-parisc@vger.kernel.org, James Bottomley , John David Anglin Subject: [PATCH] parisc: Fix serio address output Message-ID: <20181115200959.GA23425@ls3530.dellerweb.de> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.1 (2017-09-22) X-Provags-ID: V03:K1:d2a8L9S6B5ovzkr99ebYGCbL45/+2ow3cROnVpt9n8wstGiY/Ca QO5i7xC3+smAorzOHca7lrXlTix6hbXnXP9jPHk3WzsBDgREia3bRqTp95RUTy+eAB4/D4n /fZKbaDdOgITRH4G526zaiayDmo6glTOEY6x9DkpS6nfIyL35QTtkWAOjKM1lkLtGXCu7WT mb8u3aNvDZKyms21IMULA== X-UI-Out-Filterresults: notjunk:1;V01:K0:DCrUHKZOoDk=:SYAZ9frtBAytL3L7DJfhyx I6Az3a7FYkmD9RLJ4ztSocLH8+6y29938XaMvdNktxbWpA661TjqerTL+OCd2GtOq5Ec/BpKh 7dw/Be0YIvWJnPyQXyLmOec0q/xRldKoepRcdMNeppvMJFLlYZEWGcZdehWGEOsiZlo0FoNLY 9r5tDkULjh993dvRfp1beI49gPZ0HataRgyK4nILxueM41en5ld0lMcfhq8ODKEbFOidjto7D EWCfTR9KOMy2sG7/ivL/YUgGTBHiq2gW9Y8Fk/JyvbqvjqALk6gWg2wFS72Vb8itynODz1Iil H/v2scdLQgDf/iNDHgs0P9fti5yj3YGBtURCzd/n3UXESUwDtz2QI/ReD35LyodKSQoT13IP2 Le0VFTkygI2VNTTmdXORGXfRnKBvakd5Of2nmwEvbVcJ7z9IfOlCfq+1RVrIdMMJXFHa5Zo8z KUMJEjRUIcvemCksX3aMYxTx/zc8sV7ytdU/l76Rfi4L5D/jyZ5oo8rMUTaM1J298nfNdRn0t 2Bi9mSfYAhDNxII2FJNc9YtUUaWb8WA2COVpUgeEjtxTG10bO8BGEWYGYGIwoadQaDV7jck3d ev4v89ApfxZKW/sQ3F4nXCcBiU25jCWBA8VPIflh18+YGzX97i/b79/r/f6AEb6eT6m9QC1sg zeNo/5RF6Z7G8Ghqrv//jTcaj6BJwaplOK2iqKI/XZ2fB9KZx5jV9ylpkQpmvBQ6mqW5XL10R dHKzJgUXVZ6etb/3nVFxjdKynI8RsXulsLUf5N2wVYppsK7Pg0mrr/Rg2ShR2N8O+g3SL2Mxe 2xQGmu7NAi+ili81xteHaWJi7rDwY+OgHj9FbeUD2FxPglcBZTGfrgNiUyNpNwZx/VzF/WcxH HEW+e4GPk0VIagvXMsKCNZIPWmFthOPwgANANHpQ8= Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP We want the hpa addresses printed in the serio modules, not some virtual ioremap()ed address, e.g.: serio: gsc-ps2-keyboard port at 0xf0108000 irq 22 @ 2:0:11 serio: gsc-ps2-mouse port at 0xf0108100 irq 22 @ 2:0:12 Signed-off-by: Helge Deller diff --git a/drivers/input/serio/gscps2.c b/drivers/input/serio/gscps2.c index 49d8d53e50b7..96f9b5397367 100644 --- a/drivers/input/serio/gscps2.c +++ b/drivers/input/serio/gscps2.c @@ -381,9 +381,9 @@ static int __init gscps2_probe(struct parisc_device *dev) goto fail; #endif - printk(KERN_INFO "serio: %s port at 0x%p irq %d @ %s\n", + pr_info("serio: %s port at 0x%08lx irq %d @ %s\n", ps2port->port->name, - ps2port->addr, + hpa, ps2port->padev->irq, ps2port->port->phys);