Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jun 2021 22:53:18 GMT
From:      Neel Chauhan <nc@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 37d64dcdfa51 - main - linuxkpi: Include pr_err_once() in printk.h
Message-ID:  <202106072253.157MrItr006993@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by nc (ports committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=37d64dcdfa519157aff9711f1f226ad7bd778f46

commit 37d64dcdfa519157aff9711f1f226ad7bd778f46
Author:     Neel Chauhan <nc@FreeBSD.org>
AuthorDate: 2021-06-07 22:52:37 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2021-06-07 22:53:24 +0000

    linuxkpi: Include pr_err_once() in printk.h
    
    Approved by:            bz (src), hselasky (src)
    Differential Reivison:  https://reviews.freebsd.org/D30687
---
 sys/compat/linuxkpi/common/include/linux/printk.h | 3 +++
 sys/sys/param.h                                   | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/sys/compat/linuxkpi/common/include/linux/printk.h b/sys/compat/linuxkpi/common/include/linux/printk.h
index e6510e9e9834..ac3fdb9f31ae 100644
--- a/sys/compat/linuxkpi/common/include/linux/printk.h
+++ b/sys/compat/linuxkpi/common/include/linux/printk.h
@@ -127,4 +127,7 @@ print_hex_dump_bytes(const char *prefix_str, const int prefix_type,
 #define	pr_info_ratelimited(fmt, ...) \
 	printk_ratelimited(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
 
+#define pr_err_once(fmt, ...)					\
+	printk_once(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
+
 #endif					/* _LINUX_PRINTK_H_ */
diff --git a/sys/sys/param.h b/sys/sys/param.h
index c63452973daf..d3a6fae783d4 100644
--- a/sys/sys/param.h
+++ b/sys/sys/param.h
@@ -76,7 +76,7 @@
  * cannot include sys/param.h and should only be updated here.
  */
 #undef __FreeBSD_version
-#define __FreeBSD_version 1400018
+#define __FreeBSD_version 1400019
 
 /*
  * __FreeBSD_kernel__ indicates that this system uses the kernel of FreeBSD,



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