[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>
This commit is contained in:
parent
35e00fbe48
commit
ec1c620b1c
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue