Thread (2 messages) 2 messages, 2 authors, 2021-06-15

Re: ssb: sdio: Don't overwrite const buffer if block_write fails

From: Kalle Valo <hidden>
Date: 2021-06-15 10:11:39

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help