Re: [PATCH] x86: kprobes change kprobe_handler flow

From: Ingo Molnar
Date: Sun Dec 30 2007 - 08:57:15 EST



* Masami Hiramatsu <mhiramat@xxxxxxxxxx> wrote:

> And also, I prefer "return 1" to "{ret = 1; goto out;}" for
> simplicity.

it seems that the code already uses 'ret', and sets it to 1 in certain
cases - in that light it's a tiny bit cleaner to just have a single
return code flow.

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