]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/spufs: adjust list element pointer type
authorJulia Lawall <Julia.Lawall@inria.fr>
Fri, 8 May 2020 09:12:56 +0000 (09:12 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 3 Feb 2022 10:40:32 +0000 (21:40 +1100)
commit41fbe82a16b66f2027353314429a17776fb663fa
tree11063adfff0124dee22560b6020791ff3f94d1a7
parent45ef062c4f288b909e0ae134a09d1c133483634b
powerpc/spufs: adjust list element pointer type

Other uses of &gang->aff_list_head, eg in spufs_assert_affinity, indicate
that the list elements have type spu_context, not spu as used here.  Change
the type of tmp accordingly.

This has no impact on the execution, because tmp is not used in the body of
the loop.

Fixes: 310c413ae8ad7 ("[CELL] cell: add placement computation for scheduling of affinity contexts")
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Reviewed-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1588929176-28527-1-git-send-email-Julia.Lawall@inria.fr
arch/powerpc/platforms/cell/spufs/sched.c