Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/28685 )
Change subject: Add CLI option to include a numeric range
......................................................................
Patch Set 1:
How about a more implicit approach: Allow region names matching the pattern: <start>..<end> ? Whenever a region name isn't found but matches that pattern, flashrom could generate a region on the fly.
Downside: Somebody could make funny things …
[View More]by adding a layout file entry with such a name. But we could warn about that when parsing a layout file, ofc.
--
To view, visit https://review.coreboot.org/c/flashrom/+/28685
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Ie2691051984bdeac128354c09bbe72aa05ef7401
Gerrit-Change-Number: 28685
Gerrit-PatchSet: 1
Gerrit-Owner: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Wed, 19 Dec 2018 14:16:06 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
[View Less]
David Hendricks has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/30154 )
Change subject: libflashrom.h: Remove line breaks in function signatures
......................................................................
Patch Set 1:
(1 comment)
> Patch Set 1:
>
> (1 comment)
https://review.coreboot.org/#/c/30154/1/libflashrom.h
File libflashrom.h:
https://review.coreboot.org/#/c/30154/1/libflashrom.h@66
PS1, Line 66: int …
[View More]flashrom_layout_read_fmap_from_rom(struct flashrom_layout **, struct flashrom_flashctx *, off_t offset, size_t length);
> I couldn't find anything in the wiki either. Not buried too deep for my […]
Ah, here we go: https://mail.coreboot.org/pipermail/flashrom/2012-May/009228.html
I think the tl;dr version is:
- 80 columns soft limit
- 112 columns hard limit
- Tables are an exception and may be as long as needed for readability
I went ahead and added this to the wiki: https://www.flashrom.org/Development_Guidelines#Coding_style
I'll ping the mailing list as well in case others wish to add stuff or argue about those limits.
--
To view, visit https://review.coreboot.org/c/flashrom/+/30154
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I9d9afb884d92f1edc3a806fa7e2d43808748d0f9
Gerrit-Change-Number: 30154
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Sat, 15 Dec 2018 01:44:01 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: David Hendricks <david.hendricks(a)gmail.com>
Comment-In-Reply-To: Nico Huber <nico.h(a)gmx.de>
Gerrit-MessageType: comment
[View Less]
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/30154 )
Change subject: libflashrom.h: Remove line breaks in function signatures
......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/#/c/30154/1/libflashrom.h
File libflashrom.h:
https://review.coreboot.org/#/c/30154/1/libflashrom.h@66
PS1, Line 66: int flashrom_layout_read_fmap_from_rom(struct flashrom_layout **, struct …
[View More]flashrom_flashctx *, off_t offset, size_t length);
> Doesn't this exceed the length limit now? (Heck, did we ever write down a length limit in a wiki som […]
I couldn't find anything in the wiki either. Not buried too deep for my
memory, though :) (scroll down to the second last hunk)
https://mail.coreboot.org/pipermail/flashrom/2012-June/009388.html
I don't know when the discussion took place. Must have been shortly
before I started working on coreboot/flashrom.
--
To view, visit https://review.coreboot.org/c/flashrom/+/30154
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I9d9afb884d92f1edc3a806fa7e2d43808748d0f9
Gerrit-Change-Number: 30154
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Tue, 11 Dec 2018 21:41:38 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-MessageType: comment
[View Less]
David Hendricks has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/30154 )
Change subject: libflashrom.h: Remove line breaks in function signatures
......................................................................
Patch Set 1:
(2 comments)
https://review.coreboot.org/#/c/30154/1//COMMIT_MSG
Commit Message:
https://review.coreboot.org/#/c/30154/1//COMMIT_MSG@9
PS1, Line 9: I was once told we avoid such line breaks for better grep'ability.
Not sure who …
[View More]said that, but AFAIK the argument usually applies to print statements.
https://review.coreboot.org/#/c/30154/1/libflashrom.h
File libflashrom.h:
https://review.coreboot.org/#/c/30154/1/libflashrom.h@66
PS1, Line 66: int flashrom_layout_read_fmap_from_rom(struct flashrom_layout **, struct flashrom_flashctx *, off_t offset, size_t length);
Doesn't this exceed the length limit now? (Heck, did we ever write down a length limit in a wiki somewhere, or does that only exist in a mailing discussion that's been buried for years now?)
--
To view, visit https://review.coreboot.org/c/flashrom/+/30154
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I9d9afb884d92f1edc3a806fa7e2d43808748d0f9
Gerrit-Change-Number: 30154
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Tue, 11 Dec 2018 20:48:49 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
[View Less]