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)
commit925f76c55784fdc17ab41aecde06b30439ceb73a
tree11063adfff0124dee22560b6020791ff3f94d1a7
parenta1c414093370ed50e5b952d96d4ae775c7a18420
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: c5fc8d2a92461 ("[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