diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2020-05-09 08:42:37 +0000 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2020-05-11 11:28:30 -0700 |
commit | 8096f80a5c09b716be207eb042c4e40d6cdefbd2 (patch) | |
tree | 1a31215ab5a2ede841f002146a76d7be582b3b37 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 93bc3feee8bd5fbe29ad27779c5e7b369fd7c80b (diff) |
remoteproc/mediatek: fix invalid use of sizeof in scp_ipi_init()
sizeof() when applied to a pointer typed expression gives the
size of the pointer, not that of the pointed data.
Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Fixes: 63c13d61eafe ("remoteproc/mediatek: add SCP support for mt8183")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Link: https://lore.kernel.org/r/20200509084237.36293-1-weiyongjun1@huawei.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions