Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107823879
D46463.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
521 B
Referenced Files
None
Subscribers
None
D46463.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/printk.h b/sys/compat/linuxkpi/common/include/linux/printk.h
--- a/sys/compat/linuxkpi/common/include/linux/printk.h
+++ b/sys/compat/linuxkpi/common/include/linux/printk.h
@@ -125,4 +125,11 @@
#define pr_info_ratelimited(fmt, ...) \
printk_ratelimited(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
+#define no_printk(fmt, ...) \
+({ \
+ if (0) \
+ printk(pr_fmt(fmt), ##__VA_ARGS__); \
+ 0; \
+})
+
#endif /* _LINUXKPI_LINUX_PRINTK_H_ */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 19, 1:01 PM (17 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15941523
Default Alt Text
D46463.diff (521 B)
Attached To
Mode
D46463: LinuxKPI: add no_printk
Attached
Detach File
Event Timeline
Log In to Comment