Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757685Ab3GYXOg (ORCPT ); Thu, 25 Jul 2013 19:14:36 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:19714 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756722Ab3GYXOe (ORCPT ); Thu, 25 Jul 2013 19:14:34 -0400 X-AuditID: cbfee690-b7f6f6d00000740c-87-51f1b1585fec From: Jingoo Han To: "'Michal Simek'" , "'Jean-Christophe Plagniol-Villard'" Cc: "'Michal Simek'" , "'Tomi Valkeinen'" , linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, "'Geert Uytterhoeven'" , Jingoo Han References: In-reply-to: Subject: Re: [PATCH v3] video: xilinxfb: Fix compilation warning Date: Fri, 26 Jul 2013 08:14:32 +0900 Message-id: <000e01ce898c$b865f740$2931e5c0$@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-index: AQGv6KqJYYunoL8LFwWZ4j+gRWEXl5mzR3uw Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrIIsWRmVeSWpSXmKPExsVy+t8zQ92IjR8DDRZfkrV4dmsvk8XlhZdY LU70fWC1uLxrDpvFu5cRFk8+nmaxWPfwBZPF+vm32Bw4PF5duMPicehwB6PH364pzB59W1Yx ehy/sZ3J4/MmOY+9n3+zBLBHcdmkpOZklqUW6dslcGVMuzGBsaCFu+LgtsWsDYwvOboYOTkk BEwkDk9tZ4KwxSQu3FvP1sXIxSEksIxR4lHvWTaYovan96ASixglbsw/xQLh/GKU6NvVyAxS xSagJvHly2F2EFtEIEti/7VdjCBFzAL3GSW+/v8GNkpIIF6ide1uVhCbUyBBonPFSbBmYQEH iZvn24BsDg4WAVWJ3++tQcK8ApYSe1cvZYWwBSV+TL7HAmIzC2hJrN95nAnClpfYvOYtM8Sl ChI7zr5mhLjBS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MTDq+D0MVCINbGsuDL3EKME B7OSCO+tXqAQb0piZVVqUX58UWlOavEhxmSgRycyS4km5wPTWl5JvKGxiZmRpZGZhZGJuTlp wkrivAdbrQOFBNITS1KzU1MLUotgtjBxcEo1MCoErJnNYeycceCrrfW8uPslx4V2fGYMYpZg 6jx5SukKd7nPuhDlc07H3p7sn3/db/eTJqssY6e6f2aFpWWcG5+93VJnJzE1oeRU0M+0rglN Fy1nmV7mZzphbHU3aI1g5sRzrrrL+oIXcFn66XhLzyp5+3Au/7uXFT4FV7M7Vn3mmLA7W131 kxJLcUaioRZzUXEiAD3kpjBhAwAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1606 Lines: 56 On Thursday, July 25, 2013 10:45 PM, Michal Simek wrote: > > regs_phys is phys_addr_t (u32 or u64). > Lets use %pa printk format specifier. > > Fixes compilation warning introduced by: > video: xilinxfb: Use drvdata->regs_phys instead of physaddr > (sha1: c88fafef0135e1e1c3e23c3e32ccbeeabc587f81) > > Signed-off-by: Michal Simek It looks good. Reviewed-by: Jingoo Han Best regards, Jingoo Han > --- > Changes in v3: > - Fix commit message reported by Geert > > Changes in v2: > - Use %pa instead of casting > > ppc44x_defconfig > Fixes regressions in v3.11-rc2 > > --- > drivers/video/xilinxfb.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/video/xilinxfb.c b/drivers/video/xilinxfb.c > index f3d4a69..6629b29 100644 > --- a/drivers/video/xilinxfb.c > +++ b/drivers/video/xilinxfb.c > @@ -341,8 +341,8 @@ static int xilinxfb_assign(struct platform_device *pdev, > > if (drvdata->flags & BUS_ACCESS_FLAG) { > /* Put a banner in the log (for DEBUG) */ > - dev_dbg(dev, "regs: phys=%x, virt=%p\n", drvdata->regs_phys, > - drvdata->regs); > + dev_dbg(dev, "regs: phys=%pa, virt=%p\n", > + &drvdata->regs_phys, drvdata->regs); > } > /* Put a banner in the log (for DEBUG) */ > dev_dbg(dev, "fb: phys=%llx, virt=%p, size=%x\n", > -- > 1.8.2.3 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/