On Wed, 15 Jan 2014 17:18:01 +0900
Masami Hiramatsu <masami.hiramatsu...@hitachi.com> wrote:

  
> >> +static char bp_int3;
> > 
> > bp_int3 is not going to be anything but 0xcc. Let's change that to:
> > 
> > static char bp_int3 = 0xcc;
> > 
> > And remove the other initializations.
> 
> just a comment.
> If it is always 0xcc, it should be a const variable.
> 

Yeah, I was thinking that too. As long as sizeof(bp_int3) still works,
which it should for just adding a "const", and not make it a macro.

static const bp_int3 = 0xcc;

Thanks!

-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to