From: Artem Bityutskiy Date: Wed, 22 Aug 2012 13:40:05 +0000 (+0300) Subject: UBI: print PID in debug messages X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=183ae6cf8b903129eea05c596b057372818c2074;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git UBI: print PID in debug messages Signed-off-by: Artem Bityutskiy --- diff --git a/drivers/mtd/ubi/debug.h b/drivers/mtd/ubi/debug.h index d5d2645b51a7..d9e89ec90983 100644 --- a/drivers/mtd/ubi/debug.h +++ b/drivers/mtd/ubi/debug.h @@ -39,7 +39,8 @@ void ubi_dump_vid_hdr(const struct ubi_vid_hdr *vid_hdr); print_hex_dump(l, ps, pt, r, g, b, len, a) #define ubi_dbg_msg(type, fmt, ...) \ - pr_debug("UBI DBG " type ": " fmt "\n", ##__VA_ARGS__) + pr_debug("UBI DBG " type " (pid %d): " fmt "\n", current->pid, \ + ##__VA_ARGS__) /* Just a debugging messages not related to any specific UBI subsystem */ #define dbg_msg(fmt, ...) \