firmware/psci: fix application of sizeof to pointer
sizeof when applied to a pointer typed expression gives the size of
the pointer.
./drivers/firmware/psci/psci_checker.c:158:41-47: ERROR application of sizeof to pointer
This issue was detected with the help of Coccinelle.
Fixes: 7401056de5f8 ("drivers/firmware: psci_checker: stash and use topology_core_cpumask for hotplug tests")
Cc: [email protected]
Reported-by: Zeal Robot <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Reviewed-by: Gustavo A. R. Silva <[email protected]>
Signed-off-by: jing yangyang <[email protected]>
Signed-off-by: Gustavo A. R. Silva <[email protected]>
1 file changed