Page MenuHomeFreeBSD

D36021.id108818.diff
No OneTemporary

D36021.id108818.diff

Index: sys/compat/linuxkpi/common/include/linux/device.h
===================================================================
--- sys/compat/linuxkpi/common/include/linux/device.h
+++ sys/compat/linuxkpi/common/include/linux/device.h
@@ -193,6 +193,14 @@
#define dev_printk(lvl, dev, fmt, ...) \
device_printf((dev)->bsddev, fmt, ##__VA_ARGS__)
+#define dev_info_once(dev, ...) do { \
+ static bool __dev_info_once; \
+ if (!__dev_info_once) { \
+ __dev_info_once = 1; \
+ dev_info(dev, __VA_ARGS__); \
+ } \
+} while (0)
+
#define dev_err_once(dev, ...) do { \
static bool __dev_err_once; \
if (!__dev_err_once) { \

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 18, 8:49 AM (15 h, 44 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15482725
Default Alt Text
D36021.id108818.diff (649 B)

Event Timeline