Skip to content

Commit

Permalink
[PATCH] assigning enum constant to char * is vile, even if it happens…
Browse files Browse the repository at this point in the history
… to be 0

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Feb 9, 2007
1 parent 35e00fb commit ec1c620
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/misc/lkdtm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit ec1c620

Please sign in to comment.