[Skiboot] [PATCH] core/cpu: Call memset with proper cpu_thread offset

Stewart Smith stewart at linux.ibm.com
Wed Aug 15 14:46:55 AEST 2018


Vasant Hegde <hegdevasant at linux.vnet.ibm.com> writes:
> "cpu_thread *t + value" vs "(void *)t + val"
>
> Fixes: cfe9d441 (core/cpu: Prevent clobbering of stack guard for boot-cpu)
> CC: stable <skiboot at lists.ozlabs.org> # v6.0+
> CC: Vaibhav Jain <vaibhav at linux.vnet.ibm.com>
> CC: Nicholas Piggin <npiggin at gmail.com>
> CC: Mahesh Salgaonkar <mahesh at linux.vnet.ibm.com>
> Acked-by: Mahesh Salgaonkar <mahesh at linux.vnet.ibm.com>
> Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
> ---
>  core/cpu.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Whoops. Ouch. Merged to master as of
15880d514e1f27e4380eaaf0b7de5ac90d35da66 and backported to 6.0.x as of
a05f10d94ad18a655f5c07704d62ded91d7d9fb5

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list