powerpc/smp: Get cpu only after validity check

Michael Ellerman patch-notifications at ellerman.id.au
Thu Jul 27 22:37:18 AEST 2017


On Tue, 2017-07-04 at 04:22:46 UTC, Santosh Sivaraj wrote:
> Check for validity of cpu before calling get_hard_smp_processor_id.
> 
> Found with coverity.
> 
> Signed-off-by: Santosh Sivaraj <santosh at fossix.org>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/76d98ab4628bf8d36498e8228a5b92

cheers


More information about the Linuxppc-dev mailing list