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>
pull/524/head
Oleksij Rempel 2024-05-15 20:01:48 +02:00
parent 72d097b2f9
commit 69c1e8289d
1 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,8 @@ struct regmap {
};
#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 netdev_info(ndev, ...) fprintf(stdout, ## __VA_ARGS__)
#define BUILD_BUG_ON(...)