On Mon, Sep 16, 2024 at 12:10:32PM +0200, Andi Shyti wrote: > On Mon, Sep 16, 2024 at 12:07:28PM GMT, Andy Shevchenko wrote: > > On Sat, Sep 14, 2024 at 02:56:19PM +0800, kernel test robot wrote: ... > > > drivers/i2c/busses/i2c-isch.c: In function 'smbus_sch_probe': > > > >> drivers/i2c/busses/i2c-isch.c:296:42: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'resource_size_t' {aka 'long long unsigned int'} [-Wformat=] > > > 296 | "SMBus SCH adapter at %04x", res->start); > > > | ~~~^ ~~~~~~~~~~ > > > | | | > > > | | resource_size_t {aka long long unsigned int} > > > | unsigned int > > > | %04llx > > > > Yeah, this should be something like %pa, but the problem with that that it > > always uses the same, fixed-width format with a prefix. We don't want this. But > > to make sure we have proper specifier we need to introduce a temporary variable > > and assign the resource start address to it and then use that variable in here. > > I'll update this in v2 and send it after we have v6.12-rc1 is out. > > Feel free to send it, I will apply it in i2c/i2c-host-for-6.12, > that's where I'm collecting the next patches. But I believe it's a material for v6.13, no?