On Tue, Aug 12, 2014 at 4:20 PM, Doug Ledford <dledf...@redhat.com> wrote: > The ib_srpt module has a metric ton of printks for debugging and > warnings and such. And it never prefaces a single one of them with > information to allow an admin to know what errant module is spewing > garbage all through their dmesg output. Fix that.
Target patches should probably go through Nic's tree, although for srpt stuff like this I guess I can take it. However I also think it would be a lot cleaner to define pr_fmt() at the top of the file like #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt and then convert the printks to pr_info() or pr_warn() instead of having to type "ib_srpt:" everywhere. - R. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html