projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35e00fb
)
[PATCH] assigning enum constant to char * is vile, even if it happens to be 0
author
Al Viro
<viro@ftp.linux.org.uk>
Fri, 9 Feb 2007 16:05:17 +0000
(16:05 +0000)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Fri, 9 Feb 2007 16:28:48 +0000
(08:28 -0800)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/misc/lkdtm.c
patch
|
blob
|
history
diff --git
a/drivers/misc/lkdtm.c
b/drivers/misc/lkdtm.c
index
db9d7df
..
552b795
100644
(file)
--- a/
drivers/misc/lkdtm.c
+++ b/
drivers/misc/lkdtm.c
@@
-108,8
+108,8
@@
static struct jprobe lkdtm;
static int lkdtm_parse_commandline(void);
static void lkdtm_handler(void);
-static char* cpoint_name
= INVALID
;
-static char* cpoint_type
= NONE
;
+static char* cpoint_name;
+static char* cpoint_type;
static int cpoint_count = DEFAULT_COUNT;
static int recur_count = REC_NUM_DEFAULT;