1 #include <linux/kernel.h>
4 /* Normal UBIFS messages */
5 void ubifs_msg(const struct ubifs_info
*c
, const char *fmt
, ...)
15 pr_notice("UBIFS (ubi%d:%d): %pV\n",
16 c
->vi
.ubi_num
, c
->vi
.vol_id
, &vaf
);
21 /* UBIFS error messages */
22 void ubifs_err(const struct ubifs_info
*c
, const char *fmt
, ...)
32 pr_err("UBIFS error (ubi%d:%d pid %d): %ps: %pV\n",
33 c
->vi
.ubi_num
, c
->vi
.vol_id
, current
->pid
,
34 __builtin_return_address(0),
40 /* UBIFS warning messages */
41 void ubifs_warn(const struct ubifs_info
*c
, const char *fmt
, ...)
51 pr_warn("UBIFS warning (ubi%d:%d pid %d): %ps: %pV\n",
52 c
->vi
.ubi_num
, c
->vi
.vol_id
, current
->pid
,
53 __builtin_return_address(0),