]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
regcache: Amend printf() specifiers when printing registers
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 2 Mar 2026 09:56:57 +0000 (10:56 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 2 Mar 2026 14:51:05 +0000 (14:51 +0000)
commit9ab637ac5d3826606947f4e861107da958eda324
tree66bf06dc7f0f2cb46b33119189fc419e600b7fdd
parent8e29bc88e11928926fd97fc9acd58b8afa38de9d
regcache: Amend printf() specifiers when printing registers

In one case the 0x is provided in the formatting string, while
the rest use # for that.

In a couple of more cases a decimal signed value specifier is used.

Amend them to use %#x when register is printed. Note, for the case,
when it's related to the read/write, use %x to be in align with
the similar messages in regmap core.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20260302095847.2310066-4-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/regcache.c