diff options
| author | 2026-09-04 19:26:36 +1000 | |
|---|---|---|
| committer | 2026-09-23 05:14:06 -0600 | |
| commit | d66bdef0a3083fed1a0fc4f0ee1c85b26476b21c (patch) | |
| tree | f68ab5c27d70439ce240ed1ad40ec382b420ceca /scripts/Makefile.thinlto | |
| parent | swim: Check for CRC errors (diff) | |
swim: Check error register during sector read
Clear the error register only once before a sector read operation. Don't
clear it afterwards -- the caller needs it. Check the error register in
swim_read_sector() and return the appropriate error when necessary. Fully
validate the sector header. Don't terminate the search loop early just
because an erroneous sector header showed up.
Fixes: 8852ecd97488 ("m68k: mac - Add SWIM floppy support")
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Finn Thain <fthain@linux-m68k.org>
Tested-by: Stan Johnson <userm57@yahoo.com>
Link: https://patch.msgid.link/efabd807f4ecf5cbc05b60e91ed69aa4c10691a8.1788513997.git.fthain@linux-m68k.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
