Searched hist:"76 d98ab4" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | smp.c | 76d98ab4 Mon Jul 03 23:22:46 CDT 2017 Santosh Sivaraj <santosh@fossix.org> powerpc/powernv: Get cpu only after validity check
Check for validity of cpu before calling get_hard_smp_processor_id().
Found with coverity.
Signed-off-by: Santosh Sivaraj <santosh@fossix.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> 76d98ab4 Mon Jul 03 23:22:46 CDT 2017 Santosh Sivaraj <santosh@fossix.org> powerpc/powernv: Get cpu only after validity check Check for validity of cpu before calling get_hard_smp_processor_id(). Found with coverity. Signed-off-by: Santosh Sivaraj <santosh@fossix.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
|