Implement print_hex_dump_debug() function macro in the LinuxKPI.

Build tested drm-current-kmod prior to commit.

MFC after:		1 week
Submitted by:		slavash@
Sponsored by:		Mellanox Technologies
This commit is contained in:
Hans Petter Selasky 2019-05-06 16:10:26 +00:00
parent e0bfdf599d
commit 34cb771e01

View File

@ -121,6 +121,9 @@ print_hex_dump_bytes(const char *prefix_str, const int prefix_type,
#define pr_err_ratelimited(fmt, ...) \
printk_ratelimited(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
#define print_hex_dump_debug(...) \
print_hex_dump(KERN_DEBUG, ##__VA_ARGS__)
#define pr_info_ratelimited(fmt, ...) \
printk_ratelimited(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)