diff options
author | jing yangyang <cgel.zte@gmail.com> | 2021-08-19 19:30:16 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-26 11:35:57 +0100 |
commit | 68f5f8e20be75e86e85bc347c6679591dbcad3af (patch) | |
tree | 0deb3262e30272ab3ff950fed91ec5a836885ee9 /drivers/crypto | |
parent | bf3a1a8c9120f0cc55dc65993674bc1ac1f2968a (diff) | |
download | linux-stable-68f5f8e20be75e86e85bc347c6679591dbcad3af.tar.gz linux-stable-68f5f8e20be75e86e85bc347c6679591dbcad3af.tar.bz2 linux-stable-68f5f8e20be75e86e85bc347c6679591dbcad3af.zip |
firmware/psci: fix application of sizeof to pointer
commit 2ac5fb35cd520ab1851c9a4816c523b65276052f upstream.
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: stable@vger.kernel.org
Reported-by: Zeal Robot <zealci@zte.com.cn>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: jing yangyang <jing.yangyang@zte.com.cn>
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/crypto')
0 files changed, 0 insertions, 0 deletions