[LinuxBIOS] flashrom: patch for jedec.c

Uwe Hermann uwe at hermann-uwe.de
Fri Nov 17 09:00:39 CET 2006

On Thu, Nov 16, 2006 at 11:06:43PM -0500, Corey wrote:
> > Our CodingStyle (borrowed from Linux) currently says that goto's
> > to an error exit path are allowed (preferred to other solutions,
> > actually).
> > 
> > Most other goto's are frowned upon of course.
> Why exactly is this anyways? Pesonally, I agree with Peter that gotos
> make code much easier to follow, but I always learned that they were
> frowned upon, my C++ instructer in college refused to even teach about
> it (although he couldn't tell me why either). Also, you state
> "CodingStyle" as one word...is there a specific page/doc outlining what
> the preferred coding style is, or is it just a general consensus deal?

I've documented it in the wiki now:

We just use the plain Linux coding style currently (or rather: in
future; most code in svn doesn't follow the coding style, yet).

http://www.hermann-uwe.de  | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20061117/f2b7a1c0/attachment.sig>

More information about the coreboot mailing list