Commit 940973ae authored by Committed by Peter Maydell
ide: Correct improper smart self test counter reset in ide core.
The SMART self test counter was incorrectly being reset to zero, not 1. This had the effect that on every 21st SMART EXECUTE OFFLINE: * We would write off the beginning of a dynamically allocated buffer * We forgot the SMART history Fix this. Signed-off-by: Benoit Canet <firstname.lastname@example.org> Message-id: email@example.com Reviewed-by: Markus Armbruster <firstname.lastname@example.org> Cc: email@example.com Acked-by: Kevin Wolf <firstname.lastname@example.org> [PMM: tweaked commit message as per suggestions from Markus] Signed-off-by: Peter Maydell <email@example.com>
Showing with 1 addition and 1 deletion