Re: [PATCH 2/7] uprobes: Don't return success if alloc_uprobe()fails

From: Srikar Dronamraju
Date: Sat Oct 06 2012 - 03:25:35 EST


* Oleg Nesterov <oleg@xxxxxxxxxx> [2012-09-30 21:42:01]:

> If alloc_uprobe() fails uprobe_register() should return ENOMEM, not 0.
>
> Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx>
> ---

Acked-by: Srikar Dronamraju <srikar@xxxxxxxxxxxxxxxxxx>

--
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/