aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2021-07-30 07:54:08 +0000
committerGeorgi Djakov <[email protected]>2021-08-02 09:25:00 +0000
commit85b1ebfea2b0d8797266bcc6f04b6cc87e38290a (patch)
treee1288a92391c0aaefe63e6dd40192cd3b975dbed /lib/debugobjects.c
parentinterconnect: qcom: icc-rpmh: Add BCMs to commit list in pre_aggregate (diff)
downloadkernel-85b1ebfea2b0d8797266bcc6f04b6cc87e38290a.tar.gz
kernel-85b1ebfea2b0d8797266bcc6f04b6cc87e38290a.zip
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: e145d9a184f2 ("interconnect: Add devm_of_icc_get() as exported API for users") Signed-off-by: Colin Ian King <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Georgi Djakov <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions