aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorOlivier Maignial <[email protected]>2023-06-23 15:33:36 +0000
committerMiquel Raynal <[email protected]>2023-07-12 11:39:42 +0000
commit8544cda94dae6be3f1359539079c68bb731428b1 (patch)
tree6daac9c8cef20548be8eb4722fd0cd9be54cd451 /net/unix/af_unix.c
parentLinux 6.5-rc1 (diff)
downloadkernel-8544cda94dae6be3f1359539079c68bb731428b1.tar.gz
kernel-8544cda94dae6be3f1359539079c68bb731428b1.zip
mtd: spinand: toshiba: Fix ecc_get_status
Reading ECC status is failing. tx58cxgxsxraix_ecc_get_status() is using on-stack buffer for SPINAND_GET_FEATURE_OP() output. It is not suitable for DMA needs of spi-mem. Fix this by using the spi-mem operations dedicated buffer spinand->scratchbuf. See spinand->scratchbuf: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/linux/mtd/spinand.h?h=v6.3#n418 spi_mem_check_op(): https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/spi/spi-mem.c?h=v6.3#n199 Fixes: 10949af1681d ("mtd: spinand: Add initial support for Toshiba TC58CVG2S0H") Cc: [email protected] Signed-off-by: Olivier Maignial <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/DB4P250MB1032553D05FBE36DEE0D311EFE23A@DB4P250MB1032.EURP250.PROD.OUTLOOK.COM
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions