Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 May 2019 17:02:31 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r347792 - stable/11/sys/compat/linuxkpi/common/include/linux
Message-ID:  <201905161702.x4GH2VLM092426@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Thu May 16 17:02:31 2019
New Revision: 347792
URL: https://svnweb.freebsd.org/changeset/base/347792

Log:
  MFC r347187:
  Implement print_hex_dump_debug() function macro in the LinuxKPI.
  
  Build tested drm-current-kmod prior to commit.
  
  Submitted by:		slavash@
  Sponsored by:		Mellanox Technologies

Modified:
  stable/11/sys/compat/linuxkpi/common/include/linux/printk.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/compat/linuxkpi/common/include/linux/printk.h
==============================================================================
--- stable/11/sys/compat/linuxkpi/common/include/linux/printk.h	Thu May 16 17:01:39 2019	(r347791)
+++ stable/11/sys/compat/linuxkpi/common/include/linux/printk.h	Thu May 16 17:02:31 2019	(r347792)
@@ -121,6 +121,9 @@ print_hex_dump_bytes(const char *prefix_str, const int
 #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__)
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905161702.x4GH2VLM092426>