summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorLi Zetao <lizetao1@huawei.com>2023-08-10 19:50:49 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-08-11 21:38:52 +0200
commit60df28ac09d666f0b0e96fedf556d878715fa86f (patch)
tree093c414fa035a5ddaca6e3a3aeb3ef33f769e2d7 /tools/perf/scripts/python/exported-sql-viewer.py
parent183238ffb8863e3d5efea6c59ef68428125ea30d (diff)
misc: eeprom/idt_89hpesx: Use devm_kmemdup to replace devm_kmalloc + memcpy
Use the helper function devm_kmemdup() rather than duplicating its implementation, which helps to enhance code readability. Signed-off-by: Li Zetao <lizetao1@huawei.com> Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Link: https://lore.kernel.org/r/20230810115049.2104099-1-lizetao1@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions