diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-06-13 00:47:51 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@kernel.org> | 2023-06-23 01:39:50 +0300 |
commit | 25c9a4ab4d73d251886e6b317181cfc433e011f9 (patch) | |
tree | 336972acf20756d1755a753325fa8a03ede11b6a /Documentation/admin-guide | |
parent | fa375646241b5350f7326fd4d686891b95d9fbe5 (diff) | |
download | linux-25c9a4ab4d73d251886e6b317181cfc433e011f9.tar.xz |
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: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'Documentation/admin-guide')
0 files changed, 0 insertions, 0 deletions