git: e3f1af9b33e9 - main - linuxkpi: Add dev_emerg
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 17 Feb 2022 08:43:22 UTC
The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=e3f1af9b33e95b549ccc7363bd963cc50cd5b9d7 commit e3f1af9b33e95b549ccc7363bd963cc50cd5b9d7 Author: Emmanuel Vadot <manu@FreeBSD.org> AuthorDate: 2022-02-15 11:05:56 +0000 Commit: Emmanuel Vadot <manu@FreeBSD.org> CommitDate: 2022-02-17 08:31:17 +0000 linuxkpi: Add dev_emerg Needed by drm-kmod v5.8 Reviewed by: bz MFC after: 2 weeks Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D34286 --- sys/compat/linuxkpi/common/include/linux/device.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/compat/linuxkpi/common/include/linux/device.h b/sys/compat/linuxkpi/common/include/linux/device.h index db81303a22e4..814a58fc6e5a 100644 --- a/sys/compat/linuxkpi/common/include/linux/device.h +++ b/sys/compat/linuxkpi/common/include/linux/device.h @@ -188,6 +188,7 @@ show_class_attr_string(struct class *class, #define dev_warn(dev, fmt, ...) device_printf((dev)->bsddev, fmt, ##__VA_ARGS__) #define dev_info(dev, fmt, ...) device_printf((dev)->bsddev, fmt, ##__VA_ARGS__) #define dev_notice(dev, fmt, ...) device_printf((dev)->bsddev, fmt, ##__VA_ARGS__) +#define dev_emerg(dev, fmt, ...) device_printf((dev)->bsddev, fmt, ##__VA_ARGS__) #define dev_dbg(dev, fmt, ...) do { } while (0) #define dev_printk(lvl, dev, fmt, ...) \ device_printf((dev)->bsddev, fmt, ##__VA_ARGS__)