aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorMichael Büsch <[email protected]>2021-05-15 21:02:52 +0200
committerKalle Valo <[email protected]>2021-06-15 13:10:59 +0300
commit47ec636f7a25aa2549e198c48ecb6b1c25d05456 (patch)
tree076b2f119a119c6eb54b78083105713968ef9d79 /tools/testing/selftests/bpf/prog_tests/autoload.c
parent77a0989baa427dbd242c5784d05a53ca3d197d43 (diff)
ssb: sdio: Don't overwrite const buffer if block_write fails
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 <[email protected]> Cc: [email protected] Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/20210515210252.318be2ba@wiggum
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions