Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

video: xilinxfb: Fix compilation warning

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 <michal.simek@xilinx.com>
Reviewed-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>

authored by

Michal Simek and committed by
Tomi Valkeinen
bf265c84 3b2f64d0

+2 -2
+2 -2
drivers/video/xilinxfb.c
··· 341 341 342 342 if (drvdata->flags & BUS_ACCESS_FLAG) { 343 343 /* Put a banner in the log (for DEBUG) */ 344 - dev_dbg(dev, "regs: phys=%x, virt=%p\n", drvdata->regs_phys, 345 - drvdata->regs); 344 + dev_dbg(dev, "regs: phys=%pa, virt=%p\n", 345 + &drvdata->regs_phys, drvdata->regs); 346 346 } 347 347 /* Put a banner in the log (for DEBUG) */ 348 348 dev_dbg(dev, "fb: phys=%llx, virt=%p, size=%x\n",