[PATCH v2 1/2] powerpc/pseries: address checkpatch warnings in dlpar_offline_cpu

Michael Ellerman patch-notifications at ellerman.id.au
Thu Nov 14 20:07:51 AEDT 2019


On Wed, 2019-10-16 at 18:36:10 UTC, Nathan Lynch wrote:
> Remove some stray blank lines, convert a printk to pr_warn, and
> address a line length violation.
> 
> One functional change: use WARN_ON instead of BUG_ON in case H_PROD of
> a ceded thread yields an unexpected result from the platform. We can
> expect this code path to get uninterruptibly stuck in __cpu_die() if
> this happens, but that's more desirable than crashing.
> 
> Signed-off-by: Nathan Lynch <nathanl at linux.ibm.com>
> Fixes: b6db63d1a7f0 ("pseries/pseries: Add code to online/offline CPUs of a DLPAR node")

Series applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/3366ebe9e19ba3c672a00a6fb86f0ac8636ee989

cheers


More information about the Linuxppc-dev mailing list