Attention is currently required from: Angel Pons, Nikolai Artemiev. Edward O'Callaghan has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/63881 )
Change subject: flashrom: initialize restore func count in correct place ......................................................................
Patch Set 1: Code-Review+2
(2 comments)
Patchset:
PS1: Thank you for tracing this down Nick! Is it possible to construct a unit-test for this too?
File flashrom.c:
https://review.coreboot.org/c/flashrom/+/63881/comment/8bfa5656_0fe44cb8 PS1, Line 1865: flash->chip_restore_fn_count = 0; Maybe add a short comment here?
`/* Initialisation of chip_restore_fn_count before chip unlock calls. */`
It alludes others to git blame and find their way to this commit if need be.