OpenCloudOS-Kernel/drivers/interconnect
Colin Ian King 85b1ebfea2 interconnect: Fix undersized devress_alloc allocation
The expression sizeof(**ptr) for the void **ptr is just 1 rather than
the size of a pointer. Fix this by using sizeof(*ptr).

Addresses-Coverity: ("Wrong sizeof argument")
Fixes: e145d9a184 ("interconnect: Add devm_of_icc_get() as exported API for users")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20210730075408.19945-1-colin.king@canonical.com
Signed-off-by: Georgi Djakov <djakov@kernel.org>
2021-08-02 12:25:00 +03:00
..
imx interconnect: imx8mq: Use icc_sync_state 2020-12-28 14:03:02 +02:00
qcom interconnect: qcom: icc-rpmh: Add BCMs to commit list in pre_aggregate 2021-07-30 16:52:21 +03:00
samsung interconnect: Add generic interconnect driver for Exynos SoCs 2020-11-30 17:26:22 +02:00
Kconfig interconnect: Add generic interconnect driver for Exynos SoCs 2020-11-30 17:26:22 +02:00
Makefile interconnect: Add generic interconnect driver for Exynos SoCs 2020-11-30 17:26:22 +02:00
bulk.c interconnect: Fix kerneldoc warning 2021-03-18 23:46:21 +02:00
core.c interconnect: Fix undersized devress_alloc allocation 2021-08-02 12:25:00 +03:00
internal.h interconnect: Add helpers for enabling/disabling a path 2020-05-10 18:30:37 +03:00
trace.h interconnect: Add basic tracepoints 2019-12-16 09:25:23 +02:00