Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141100
b: refs/heads/master
c: 4bee4f6
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Apr 3, 2009
1 parent d7bf73b commit 144cf1f
Show file tree
Hide file tree
Showing 3 changed files with 113 additions and 120 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e5bac59803550c490f292391f7877107fd24107a
refs/heads/master: 4bee4f60344a880e7174a38051f6dede4f528b47
6 changes: 2 additions & 4 deletions trunk/drivers/staging/slicoss/slicdbg.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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(); \
} \
Expand All @@ -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(); \
Expand Down
Loading

0 comments on commit 144cf1f

Please sign in to comment.