diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-02-09 11:05:17 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-09 11:28:48 -0500 |
commit | ec1c620b1cb43182df5d1a08392f8d68d36cef06 (patch) | |
tree | 8ea884285b0d89ef8214dc067c1ab3cf7df4c016 /drivers/misc/lkdtm.c | |
parent | 35e00fbe48c547002fbfef718fdc67471c403ee8 (diff) |
[PATCH] assigning enum constant to char * is vile, even if it happens to be 0
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/misc/lkdtm.c')
-rw-r--r-- | drivers/misc/lkdtm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/lkdtm.c b/drivers/misc/lkdtm.c index db9d7df75ae0..552b7957a92a 100644 --- a/drivers/misc/lkdtm.c +++ b/drivers/misc/lkdtm.c | |||
@@ -108,8 +108,8 @@ static struct jprobe lkdtm; | |||
108 | static int lkdtm_parse_commandline(void); | 108 | static int lkdtm_parse_commandline(void); |
109 | static void lkdtm_handler(void); | 109 | static void lkdtm_handler(void); |
110 | 110 | ||
111 | static char* cpoint_name = INVALID; | 111 | static char* cpoint_name; |
112 | static char* cpoint_type = NONE; | 112 | static char* cpoint_type; |
113 | static int cpoint_count = DEFAULT_COUNT; | 113 | static int cpoint_count = DEFAULT_COUNT; |
114 | static int recur_count = REC_NUM_DEFAULT; | 114 | static int recur_count = REC_NUM_DEFAULT; |
115 | 115 | ||