diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2023-06-13 09:18:53 +0800 |
---|---|---|
committer | Jens Wiklander <jens.wiklander@linaro.org> | 2023-06-15 08:49:55 +0200 |
commit | 6a8b7e80105416cc7324fda295608ea2d3f98862 (patch) | |
tree | da732939c71fc78a8c5f644333b72214733f86fc /tools/perf/scripts/python/export-to-sqlite.py | |
parent | f1fcbaa18b28dec10281551dfe6ed3a3ed80e3d6 (diff) |
tee: optee: Use kmemdup() to replace kmalloc + memcpy
Use kmemdup rather than duplicating its implementation.
./drivers/tee/optee/smc_abi.c:1542:12-19: WARNING opportunity for kmemdup.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5480
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions