]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: ks8851: use %*ph to print small buffer
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 16 Oct 2024 13:25:26 +0000 (16:25 +0300)
committerAndrew Lunn <andrew@lunn.ch>
Thu, 17 Oct 2024 23:11:05 +0000 (18:11 -0500)
commit92cee559dbda3fb6b18b16ed8a77f4f8e4abad8c
tree44dcd2aa5f5177facefdad5fa2790f0a1e2bfb48
parent4b726103796a9058ea77fd0905879ecc04951ef1
net: ks8851: use %*ph to print small buffer

Use %*ph format to print small buffer as hex string. It will change
the output format from 32-bit words to byte hexdump, but this is not
critical as it's only a debug message.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Message-ID: <20241016132615.899037-1-andriy.shevchenko@linux.intel.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
drivers/net/ethernet/micrel/ks8851_common.c