summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2024-09-14 00:07:14 +0300
committerMark Brown <broonie@kernel.org>2024-09-18 16:10:33 +0300
commit0e58637eb968c636725dcd6c7055249b4e5326fb (patch)
treeb6e958b3cdf0747f344c0a5ba2ff37f759cc6337 /rust/helpers/build_bug.c
parent2e6bbfe7b0c0607001b784082c2685b134174fac (diff)
downloadlinux-0e58637eb968c636725dcd6c7055249b4e5326fb.tar.xz
spi: airoha: fix airoha_snand_{write,read}_data data_len estimation
Fix data length written and read in airoha_snand_write_data and airoha_snand_read_data routines respectively if it is bigger than SPI_MAX_TRANSFER_SIZE. Fixes: a403997c1201 ("spi: airoha: add SPI-NAND Flash controller driver") Tested-by: Christian Marangi <ansuelsmth@gmail.com> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Link: https://patch.msgid.link/20240913-airoha-spi-fixes-v1-2-de2e74ed4664@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions