On Wed Jun 3 13:17:24 2026 +0200, Andy Shevchenko wrote:
> Use %*ph format to print small buffer as hex string.
>
> Signed-off-by: Andy Shevchenko <[email protected]>
> Signed-off-by: Hans Verkuil <[email protected]>
Patch committed.
Thanks,
Hans Verkuil
drivers/media/tuners/tda18250.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/drivers/media/tuners/tda18250.c b/drivers/media/tuners/tda18250.c
index bd7ed50fb6e8..e4b4106e91b6 100644
--- a/drivers/media/tuners/tda18250.c
+++ b/drivers/media/tuners/tda18250.c
@@ -804,8 +804,7 @@ static int tda18250_probe(struct i2c_client *client)
/* read the three chip ID registers */
regmap_bulk_read(dev->regmap, R00_ID1, &chip_id, 3);
- dev_dbg(&client->dev, "chip_id=%02x:%02x:%02x",
- chip_id[0], chip_id[1], chip_id[2]);
+ dev_dbg(&client->dev, "chip_id=%3phC", chip_id);
switch (chip_id[0]) {
case 0xc7:
_______________________________________________
linuxtv-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]