From: Al Viro Date: Fri, 9 Feb 2007 16:05:17 +0000 (+0000) Subject: [PATCH] assigning enum constant to char * is vile, even if it happens to be 0 X-Git-Tag: v2.6.21-rc1~83^2~60 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ec1c620b1cb43182df5d1a08392f8d68d36cef06;p=linux-2.6-omap-h63xx.git [PATCH] assigning enum constant to char * is vile, even if it happens to be 0 Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/drivers/misc/lkdtm.c b/drivers/misc/lkdtm.c index db9d7df75ae..552b7957a92 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;