aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2022-03-20 07:22:26 +0100
committerMark Brown <broonie@kernel.org>2022-04-06 23:37:56 +0100
commit0a480df0b87a75b315cc6eef62bfb597111ee630 (patch)
treef4c5e3816753e8d9c3e15929bcbb3622152c870a /tools/perf/scripts/python
parentASoC: rt*: use simple i2c probe function (diff)
downloadlinux-0a480df0b87a75b315cc6eef62bfb597111ee630.tar.gz
linux-0a480df0b87a75b315cc6eef62bfb597111ee630.zip
ASoC: SOF: topology: Avoid open coded arithmetic in memory allocation
Use kcalloc() instead of kzalloc()+open coded multiplication. This is safer and saves a few lines of code. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/3bbf03cfd1966bc6fb6dd0939e039fc161078a61.1647757329.git.christophe.jaillet@wanadoo.fr Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions