LinuxKPI: add dev_crit() to linux/device.h
Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Reviewed by: emaste, hselasky Differential Revision: https://reviews.freebsd.org/D30424
This commit is contained in:
parent
834227ba6e
commit
e7a0b68540
@ -181,6 +181,7 @@ show_class_attr_string(struct class *class,
|
||||
_CLASS_ATTR_STRING(_name, _mode, _str)
|
||||
|
||||
#define dev_err(dev, fmt, ...) device_printf((dev)->bsddev, fmt, ##__VA_ARGS__)
|
||||
#define dev_crit(dev, fmt, ...) device_printf((dev)->bsddev, fmt, ##__VA_ARGS__)
|
||||
#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__)
|
||||
|
Loading…
Reference in New Issue
Block a user