The branch main has been updated by nc (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=37d64dcdfa519157aff9711f1f226ad7bd778f46
commit 37d64dcdfa519157aff9711f1f226ad7bd778f46 Author: Neel Chauhan <n...@freebsd.org> AuthorDate: 2021-06-07 22:52:37 +0000 Commit: Neel Chauhan <n...@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, _______________________________________________ dev-commits-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all To unsubscribe, send any mail to "dev-commits-src-all-unsubscr...@freebsd.org"