[PATCH v13 02/70] radix tree test suite: add pr_err define

From: Liam Howlett
Date: Mon Aug 22 2022 - 11:03:15 EST


From: "Liam R. Howlett" <Liam.Howlett@xxxxxxxxxx>

define pr_err to printk

Signed-off-by: Liam R. Howlett <Liam.Howlett@xxxxxxxxxx>
---
tools/testing/radix-tree/linux/kernel.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/tools/testing/radix-tree/linux/kernel.h b/tools/testing/radix-tree/linux/kernel.h
index 39867fd80c8f..c5c9d05f29da 100644
--- a/tools/testing/radix-tree/linux/kernel.h
+++ b/tools/testing/radix-tree/linux/kernel.h
@@ -14,6 +14,7 @@
#include "../../../include/linux/kconfig.h"

#define printk printf
+#define pr_err printk
#define pr_info printk
#define pr_debug printk
#define pr_cont printk
--
2.35.1