Michael Büsch [off-list ref] wrote:
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
Patch applied to wireless-drivers-next.git, thanks.
47ec636f7a25 ssb: sdio: Don't overwrite const buffer if block_write fails
--
https://patchwork.kernel.org/project/linux-wireless/patch/20210515210252.318be2ba@wiggum/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches