Re: [PATCH v2] kernel/padata.c: share code between CPU_ONLINE andCPU_DOWN_FAILED, same to CPU_DOWN_PREPARE and CPU_UP_CANCELED

From: Steffen Klassert
Date: Fri Aug 23 2013 - 06:44:56 EST


On Thu, Aug 22, 2013 at 02:43:37PM +0800, Chen Gang wrote:
> Share code between CPU_ONLINE and CPU_DOWN_FAILED, same to
> CPU_DOWN_PREPARE and CPU_UP_CANCELED.
>
> It will fix 2 bugs:
>
> "not check the return value of __padata_remove_cpu() and __padata_add_cpu()".
> "need add 'break' between CPU_UP_CANCELED and CPU_DOWN_FAILED".
>
>
> Signed-off-by: Chen Gang <gang.chen@xxxxxxxxxxx>

This looks ok to me, Herbert can you take this one?

Acked-by: Steffen Klassert <steffen.klassert@xxxxxxxxxxx>
--
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/