diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-02-26 15:32:42 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-03 14:53:08 -0700 |
commit | 4bee4f60344a880e7174a38051f6dede4f528b47 (patch) | |
tree | c8894c9fd6ff9883a91057db1586e805d7ed559b /drivers/staging/slicoss/slicdbg.h | |
parent | e5bac59803550c490f292391f7877107fd24107a (diff) | |
download | op-kernel-dev-4bee4f60344a880e7174a38051f6dede4f528b47.zip op-kernel-dev-4bee4f60344a880e7174a38051f6dede4f528b47.tar.gz |
Staging: slicoss: remove DBG_ERROR macro
Use the dev_err() call instead, it is the standard and provides much
more information.
Cc: Lior Dotan <liodot@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/slicoss/slicdbg.h')
-rw-r--r-- | drivers/staging/slicoss/slicdbg.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/staging/slicoss/slicdbg.h b/drivers/staging/slicoss/slicdbg.h index 12a91d7..b5643ce 100644 --- a/drivers/staging/slicoss/slicdbg.h +++ b/drivers/staging/slicoss/slicdbg.h @@ -42,8 +42,6 @@ #ifndef _SLIC_DEBUG_H_ #define _SLIC_DEBUG_H_ -#define DBG_ERROR(n, args...) printk(KERN_EMERG n, ##args) - #ifdef ASSERT #undef ASSERT #endif @@ -53,7 +51,7 @@ #define ASSERT(a) \ { \ if (!(a)) { \ - DBG_ERROR("ASSERT() Failure: file %s, function %s line %d\n",\ + printk(KERN_ERR "ASSERT() Failure: file %s, function %s line %d\n",\ __FILE__, __func__, __LINE__); \ slic_assert_fail(); \ } \ @@ -63,7 +61,7 @@ #define ASSERTMSG(a,msg) \ { \ if (!(a)) { \ - DBG_ERROR("ASSERT() Failure: file %s, function %s"\ + printk(KERN_ERR "ASSERT() Failure: file %s, function %s" \ "line %d: %s\n",\ __FILE__, __func__, __LINE__, (msg)); \ slic_assert_fail(); \ |