diff options
author | Gabor Juhos <j4g8y7@gmail.com> | 2025-03-20 19:11:59 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-04-06 23:26:09 +0100 |
commit | f48d80503504257682e493dc17408f2f0b47bcfa (patch) | |
tree | 2d489c4fd0d8f6708df3b898ed04b2162dc9c8d1 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 1f1d979fbf741c3608a344373f88444dc8749967 (diff) |
spi: spi-qpic-snand: use kmalloc() for OOB buffer allocation
The qcom_spi_ecc_init_ctx_pipelined() function allocates zeroed
memory for the OOB buffer, then it fills the buffer with '0xff'
bytes right after the allocation. In this case zeroing the memory
during allocation is superfluous, so use kmalloc() instead of
kzalloc() to avoid that.
Signed-off-by: Gabor Juhos <j4g8y7@gmail.com>
Link: https://patch.msgid.link/20250320-qpic-snand-kmalloc-v1-1-94e267550675@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions