diff options
author | 2018-08-10 10:40:51 +0800 | |
---|---|---|
committer | 2019-02-03 21:40:09 +0200 | |
commit | 801da462e88dadad046bd24e0c4fdaa2fb95ee36 (patch) | |
tree | 8f0207f322b2348be60c7ba906ed2cde8a3d423f /tools/perf/scripts/python/stackcollapse.py | |
parent | ARM: lpc32xx: Delete an error message for a failed memory allocation in lpc32xx_pm_enter() (diff) | |
download | wireguard-linux-801da462e88dadad046bd24e0c4fdaa2fb95ee36.tar.xz wireguard-linux-801da462e88dadad046bd24e0c4fdaa2fb95ee36.zip |
ARM: lpc32xx: Use kmemdup to replace duplicating its implementation
kmemdup is better than kmalloc() + memcpy(), and we do not like
open code. So just use kmemdup instead.
Signed-off-by: zhong jiang <zhongjiang@huawei.com>
[vzapolskiy: resolved a merge conflict]
Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions