Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F105271741
D30672.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
547 B
Referenced Files
None
Subscribers
None
D30672.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/kernel.h b/sys/compat/linuxkpi/common/include/linux/kernel.h
--- a/sys/compat/linuxkpi/common/include/linux/kernel.h
+++ b/sys/compat/linuxkpi/common/include/linux/kernel.h
@@ -251,6 +251,8 @@
log(LOG_CRIT, pr_fmt(fmt), ##__VA_ARGS__)
#define pr_err(fmt, ...) \
log(LOG_ERR, pr_fmt(fmt), ##__VA_ARGS__)
+#define pr_err_once(fmt, ...) \
+ log_once(LOG_ERR, pr_fmt(fmt), ##__VA_ARGS__)
#define pr_warning(fmt, ...) \
log(LOG_WARNING, pr_fmt(fmt), ##__VA_ARGS__)
#define pr_warn(...) \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 15, 7:48 AM (9 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15405904
Default Alt Text
D30672.diff (547 B)
Attached To
Mode
D30672: LinuxKPI: add pr_err_once
Attached
Detach File
Event Timeline
Log In to Comment