aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorQianfeng Rong <rongqianfeng@vivo.com>2025-08-19 12:02:38 +0800
committerMark Brown <broonie@kernel.org>2025-08-19 13:04:53 +0100
commitc1dd310f1d76b4b13f1854618087af2513140897 (patch)
tree4d861b2e25212a99f7c220a8de9ca4ab7d626f7e /tools/perf/scripts/python/bin/stackcollapse-record
parentspi: use min_t() to improve code (diff)
downloadlinux-c1dd310f1d76b4b13f1854618087af2513140897.tar.gz
linux-c1dd310f1d76b4b13f1854618087af2513140897.zip
spi: SPISG: Use devm_kcalloc() in aml_spisg_clk_init()
Replace calls of devm_kzalloc() with devm_kcalloc() in aml_spisg_clk_init() for safer memory allocation with built-in overflow protection, and replace sizeof(struct clk_div_table) with sizeof(*tbl) to shorten the line. Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com> Link: https://patch.msgid.link/20250819040239.434863-1-rongqianfeng@vivo.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions