diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-02-09 16:05:17 +0000 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-09 08:28:48 -0800 |
commit | ec1c620b1cb43182df5d1a08392f8d68d36cef06 (patch) | |
tree | 8ea884285b0d89ef8214dc067c1ab3cf7df4c016 /drivers/misc/lkdtm.c | |
parent | 35e00fbe48c547002fbfef718fdc67471c403ee8 (diff) | |
download | kernel_samsung_espresso10-ec1c620b1cb43182df5d1a08392f8d68d36cef06.zip kernel_samsung_espresso10-ec1c620b1cb43182df5d1a08392f8d68d36cef06.tar.gz kernel_samsung_espresso10-ec1c620b1cb43182df5d1a08392f8d68d36cef06.tar.bz2 |
[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 db9d7df..552b795 100644 --- 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; |