[PATCH v2 1/4] i2c: pmcmsp: Use proper printk format for resource_size_t

Wolfram Sang wsa at the-dreams.de
Wed Jan 15 09:45:53 PST 2020

> +			"Unable to get memory/io address region %pap\n",
> +			&(res->start));

My first thought was "parens not needed"; not because I like being picky
but because it doesn't look more readable to me.

checkpatch agrees:

CHECK: Unnecessary parentheses around res->start
#30: FILE: drivers/i2c/busses/i2c-pmcmsp.c:278:
+			&(res->start));

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20200115/9db2905a/attachment.sig>

More information about the linux-arm-kernel mailing list