|
@@ -50,13 +50,13 @@
|
|
#define UBI_NAME_STR "ubi"
|
|
#define UBI_NAME_STR "ubi"
|
|
|
|
|
|
/* Normal UBI messages */
|
|
/* Normal UBI messages */
|
|
-#define ubi_msg(ubi, fmt, ...) pr_notice("UBI-%d: %s:" fmt "\n", \
|
|
|
|
- ubi->ubi_num, __func__, ##__VA_ARGS__)
|
|
|
|
|
|
+#define ubi_msg(ubi, fmt, ...) pr_notice(UBI_NAME_STR "%d: " fmt "\n", \
|
|
|
|
+ ubi->ubi_num, ##__VA_ARGS__)
|
|
/* UBI warning messages */
|
|
/* UBI warning messages */
|
|
-#define ubi_warn(ubi, fmt, ...) pr_warn("UBI-%d warning: %s: " fmt "\n", \
|
|
|
|
|
|
+#define ubi_warn(ubi, fmt, ...) pr_warn(UBI_NAME_STR "%d warning: %s: " fmt "\n", \
|
|
ubi->ubi_num, __func__, ##__VA_ARGS__)
|
|
ubi->ubi_num, __func__, ##__VA_ARGS__)
|
|
/* UBI error messages */
|
|
/* UBI error messages */
|
|
-#define ubi_err(ubi, fmt, ...) pr_err("UBI-%d error: %s: " fmt "\n", \
|
|
|
|
|
|
+#define ubi_err(ubi, fmt, ...) pr_err(UBI_NAME_STR "%d error: %s: " fmt "\n", \
|
|
ubi->ubi_num, __func__, ##__VA_ARGS__)
|
|
ubi->ubi_num, __func__, ##__VA_ARGS__)
|
|
|
|
|
|
/* Background thread name pattern */
|
|
/* Background thread name pattern */
|