| #include <linux/kernel.h> |
| /* Normal UBIFS messages */ |
| void ubifs_msg(const struct ubifs_info *c, const char *fmt, ...) |
| pr_notice("UBIFS (ubi%d:%d): %pV\n", |
| c->vi.ubi_num, c->vi.vol_id, &vaf); |
| /* UBIFS error messages */ |
| void ubifs_err(const struct ubifs_info *c, const char *fmt, ...) |
| pr_err("UBIFS error (ubi%d:%d pid %d): %ps: %pV\n", |
| c->vi.ubi_num, c->vi.vol_id, current->pid, |
| __builtin_return_address(0), |
| /* UBIFS warning messages */ |
| void ubifs_warn(const struct ubifs_info *c, const char *fmt, ...) |
| pr_warn("UBIFS warning (ubi%d:%d pid %d): %ps: %pV\n", |
| c->vi.ubi_num, c->vi.vol_id, current->pid, |
| __builtin_return_address(0), |