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: e145d9a184f2 ("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>
|
||
|---|---|---|
| .. | ||
| imx | ||
| qcom | ||
| samsung | ||
| bulk.c | ||
| core.c | ||
| internal.h | ||
| Kconfig | ||
| Makefile | ||
| trace.h | ||