#include #include "ubifs.h" /* Normal UBIFS messages */ void ubifs_msg(const struct ubifs_info *c, const char *fmt, ...) { struct va_format vaf; va_list args; va_start(args, fmt); vaf.fmt = fmt; vaf.va = &args; pr_notice("UBIFS (ubi%d:%d): %pV\n", c->vi.ubi_num, c->vi.vol_id, &vaf); va_end(args); } \ /* UBIFS error messages */ void ubifs_err(const struct ubifs_info *c, const char *fmt, ...) { struct va_format vaf; va_list args; va_start(args, fmt); vaf.fmt = fmt; vaf.va = &args; 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), &vaf); va_end(args); } \ /* UBIFS warning messages */ void ubifs_warn(const struct ubifs_info *c, const char *fmt, ...) { struct va_format vaf; va_list args; va_start(args, fmt); vaf.fmt = fmt; vaf.va = &args; 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), &vaf); va_end(args); } te-cleanup'>emaclite-cleanup net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/net/6lowpan/nhc_ghc_icmpv6.c
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@HansenPartnership.com>2017-01-17 17:32:54 -0500
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2017-01-17 17:32:54 -0500
commit9208b75e048dda0d285904de9be7ab654a4b94fc (patch)
treeb3af58ccd11b9ea186d1388be263b8ae0cb829b3 /net/6lowpan/nhc_ghc_icmpv6.c
parent2f5a31456ee80b37ef1170319fa134af0a1dfcc4 (diff)
parentffb58456589443ca572221fabbdef3db8483a779 (diff)
Merge remote-tracking branch 'mkp-scsi/fixes' into fixes
Diffstat (limited to 'net/6lowpan/nhc_ghc_icmpv6.c')