diff options
| author | Chin-Ting Kuo <chin-ting_kuo@aspeedtech.com> | 2026-05-22 15:16:21 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-05-22 11:55:28 +0100 |
| commit | 94f5efbaa7518cfa0f9c684be85d66bd005cfbe3 (patch) | |
| tree | 529db50ada0e3fe6ff7c95bd640a1e19b00daffd /scripts/Makefile.thinlto | |
| parent | 5c3091e23f8fc2bdb6d85ca23b6097f05f3f0467 (diff) | |
spi: aspeed: Replace VLA parameter with flat pointer in calibration helper
aspeed_spi_ast2600_optimized_timing() declared its buffer argument as a
variable-length array parameter (u8 buf[rows][cols]), which causes a
sparse warning. Replace the VLA parameter with a plain u8 * and compute
the 2-D index manually. The corresponding call site is also updated.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202605180441.uD3toFRJ-lkp@intel.com/
Signed-off-by: Chin-Ting Kuo <chin-ting_kuo@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Link: https://patch.msgid.link/20260522071621.102507-3-chin-ting_kuo@aspeedtech.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
