Skip to content
Commit 25c9a4ab authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Mike Snitzer
Browse files

dm integrity: Use %*ph for printing hexdump of a small buffer



The kernel already has a helper to print a hexdump of a small
buffer via pointer extension. Use that instead of open coded
variant.

In long term it helps to kill pr_cont() or at least narrow down
its use.

Note, the format is slightly changed, i.e. the trailing space is
always printed. Also the IV dump is limited by 64 bytes which seems
fine.

Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarMike Snitzer <snitzer@kernel.org>
parent fa375646
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment