lkml.org 
[lkml]   [2019]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 1/4] i2c/busses: Add i2c-icy for I2C on m68k/Amiga
From
Date
On 08/13/2019 09:08 AM, Geert Uytterhoeven wrote:
>> + dev_info(&z->dev, "ICY I2C controller at %#x, IRQ not implemented\n",
>> + z->resource.start);
>
> z->resource.start has type phys_addr_t, so you should pas a reference, and
> use %pa to print it.
> Alternatively, you can print the full resource using %pR.
> See Documentation/core-api/printk-formats.rst

Ack, this snuck in from the early days. Thanks for pointing this out!


Max

\
 
 \ /
  Last update: 2019-08-13 11:56    [W:0.125 / U:0.872 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site