mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-05 06:20:00 +02:00
add pr_err and pr_warn macros
This variant will be used in the j19393-timeday code. Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
This commit is contained in:
@@ -22,6 +22,8 @@ struct regmap {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#define pr_info(...) fprintf(stdout, ## __VA_ARGS__)
|
#define pr_info(...) fprintf(stdout, ## __VA_ARGS__)
|
||||||
|
#define pr_err(...) fprintf(stderr, ## __VA_ARGS__)
|
||||||
|
#define pr_warn(...) fprintf(stderr, ## __VA_ARGS__)
|
||||||
#define pr_cont(...) fprintf(stdout, ## __VA_ARGS__)
|
#define pr_cont(...) fprintf(stdout, ## __VA_ARGS__)
|
||||||
#define netdev_info(ndev, ...) fprintf(stdout, ## __VA_ARGS__)
|
#define netdev_info(ndev, ...) fprintf(stdout, ## __VA_ARGS__)
|
||||||
#define BUILD_BUG_ON(...)
|
#define BUILD_BUG_ON(...)
|
||||||
|
|||||||
Reference in New Issue
Block a user