linux/drivers/ssb
Michael Buesch 43189683fe ssb: sdio: Don't overwrite const buffer if block_write fails
commit 47ec636f7a upstream.

It doesn't make sense to clobber the const driver-side buffer, if a
write-to-device attempt failed. All other SSB variants (PCI, PCMCIA and SoC)
also don't corrupt the buffer on any failure in block_write.
Therefore, remove this memset from the SDIO variant.

Signed-off-by: Michael Büsch <m@bues.ch>
Cc: stable@vger.kernel.org
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210515210252.318be2ba@wiggum
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-07-14 16:55:45 +02:00
..
b43_pci_bridge.c
bridge_pcmcia_80211.c
driver_chipcommon_pmu.c
driver_chipcommon_sflash.c
driver_chipcommon.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
driver_extif.c
driver_gige.c
driver_gpio.c
driver_mipscore.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
driver_pcicore.c
embedded.c
host_soc.c
Kconfig
main.c
Makefile
pci.c ssb: Remove meaningless jump label to simplify the code 2020-09-21 16:01:35 +03:00
pcihost_wrapper.c
pcmcia.c
scan.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
sdio.c ssb: sdio: Don't overwrite const buffer if block_write fails 2021-07-14 16:55:45 +02:00
sprom.c
ssb_private.h