[flashrom] DMI matching patch
libv at skynet.be
Fri Jan 8 13:28:49 CET 2010
On Thu, Jan 07, 2010 at 03:50:19PM +0100, Carl-Daniel Hailfinger wrote:
> On 07.01.2010 15:43, Luc Verhaegen wrote:
> > The prefix is A Bad Thing. As shown before, a typo is easily made, and
> > we cannot check for it.
> Have you seen the selfcheck() function which is called on startup? I
> have patches which extend it a bit to check for eraseblock definition
> correctness, and it could easily check for string correctness on startup
> as well.
Ah, no i haven't, but on the other hand, enums are meant to enable
typechecking, it's provided, it's compile time, etc.
More information about the flashrom