git: 1b602f641a89 - main - linuxkpi: Fix build from redefined pr_err_once()
Neel Chauhan
nc at FreeBSD.org
Mon Jun 7 23:37:14 UTC 2021
The branch main has been updated by nc (ports committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=1b602f641a8982e839c74230aeab953901f24d73
commit 1b602f641a8982e839c74230aeab953901f24d73
Author: Neel Chauhan <nc at FreeBSD.org>
AuthorDate: 2021-06-07 23:37:21 +0000
Commit: Neel Chauhan <nc at FreeBSD.org>
CommitDate: 2021-06-07 23:37:21 +0000
linuxkpi: Fix build from redefined pr_err_once()
---
sys/compat/linuxkpi/common/include/linux/printk.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/sys/compat/linuxkpi/common/include/linux/printk.h b/sys/compat/linuxkpi/common/include/linux/printk.h
index ac3fdb9f31ae..e6510e9e9834 100644
--- a/sys/compat/linuxkpi/common/include/linux/printk.h
+++ b/sys/compat/linuxkpi/common/include/linux/printk.h
@@ -127,7 +127,4 @@ 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_ */
More information about the dev-commits-src-main
mailing list