commit | d236cd0e209c595434ba15defe56f2e5aa488d1a | [log] [tgz] |
---|---|---|
author | Joe Perches <joe@perches.com> | Fri Feb 01 14:33:58 2013 -0800 |
committer | Roland Dreier <roland@purestorage.com> | Thu May 29 21:32:54 2014 -0700 |
tree | 8923b0a6da967939016c77251a3094317070af3d | |
parent | 5cfb17828d877a5541171087b9d746befdf2a126 [diff] |
IB/srp: Avoid problems if a header uses pr_fmt SRP defines pr_fmt(fmt) to be "PFX fmt", and then includes a bunch of header files before it gets around to defining PFX. This causes problems if any of the header files do a pr_... and use pr_fmt(). Fix this by using KBUILD_MODNAME instead of the private PFX. Acked-by: Chris Metcalf <cmetcalf@tilera.com> Signed-off-by: Roland Dreier <roland@purestorage.com>