From 50c6585066686bc12823cdf8ad921bfecc835fd2 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Fri, 18 Dec 2009 19:11:24 +0000 Subject: [PATCH] Made sure that all log lines generated by the ib_srpt kernel module have an "ib_srpt: " prefix. Thanks to Stanley Sufficool for the patch. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1409 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/src/ib_srpt.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/srpt/src/ib_srpt.c b/srpt/src/ib_srpt.c index 4800b5c16..298dbf5b9 100644 --- a/srpt/src/ib_srpt.c +++ b/srpt/src/ib_srpt.c @@ -47,14 +47,13 @@ #include #endif #include "ib_srpt.h" +#define LOG_PREFIX "ib_srpt" /* Prefix for SCST tracing macros. */ #include "scst_debug.h" #define CONFIG_SCST_PROC /* Name of this kernel module. */ #define DRV_NAME "ib_srpt" -/* Prefix for printk() kernel messages. */ -#define LOG_PFX DRV_NAME ": " #define DRV_VERSION "1.0.1" #define DRV_RELDATE "July 10, 2008" #if defined(CONFIG_SCST_DEBUG) || defined(CONFIG_SCST_TRACING)