Long story short, you'd have to find a way without changing the
interface of flashrom_layout_read_from_ifd() or redesign the way
layouts are handled in the library interface.
3 comments:
I guess, I left it up here so we can bail out early without
probing for the flash chip.
Patch Set #1, Line 316: gets set
...
Patch Set #1, Line 377: num_entries++
Overflow check? I guess it's impossible without knowing that
`*layout` points to the global layout. You could, ofc, assume
that, remove the `layout` parameter and remove this function
from the library interface because it could only be used in-
ternally.
To view, visit change 23678. To unsubscribe, or for help writing mail filters, visit settings.