Attention is currently required from: Angel Pons, Boris Mittelberg, Caveh Jalali, Cliff Huang, Felix Held, Hung-Te Lin, Jérémy Compostella, Lance Zhao, Philipp Hug, Sean Rhodes, Tim Wawrzynczak, Yidi Lin, Yu-Ping Wu, ron minnich.
Martin L Roth has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/78833?usp=email )
Change subject: DNS: Example of clang format
......................................................................
Patch Set 4:
(4 comments)
File src/drivers/intel/gma/i915_reg.h:
PS4:
the removed 2 space indentations make this more difficult to read
Right, unfortunately that's just a coreboot convention. We might be able to add a change to indent macros that are the format (X << Y) or BIT(Y), but things like `#define GEN6_MBC_SNPCR_SHIFT 21` are going to be more problematic.
File src/drivers/pc80/vga/vga_font_8x16.c:
PS4:
this makes this file much worse than before. […]
This is probably related to the trailing comma issue as well. If we removed the final comma of each section, I think it would be better, but I suspect that's some sort of bug in clang-format.
File src/include/device/pci_ids.h:
PS4:
i'd say that this looked better before the change
We can fix that by enabling alignment over blank lines, but that might break things in other places.
File src/northbridge/intel/gm45/raminit.c:
https://review.coreboot.org/c/coreboot/+/78833/comment/5d4729dc_e53a582e :
PS4, Line 942: /* VCO 3200 */
would moving the comments after the array elements make things to work better?
Yes, i tested that and it did.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/78833?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I596ec6d69184594870d9db1488618225a1ac421f
Gerrit-Change-Number: 78833
Gerrit-PatchSet: 4
Gerrit-Owner: Martin L Roth
gaumless@gmail.com
Gerrit-Reviewer: Angel Pons
th3fanbus@gmail.com
Gerrit-Reviewer: Boris Mittelberg
bmbm@google.com
Gerrit-Reviewer: Caveh Jalali
caveh@chromium.org
Gerrit-Reviewer: Cliff Huang
cliff.huang@intel.com
Gerrit-Reviewer: Hung-Te Lin
hungte@chromium.org
Gerrit-Reviewer: Jérémy Compostella
jeremy.compostella@intel.com
Gerrit-Reviewer: Lance Zhao
lance.zhao@gmail.com
Gerrit-Reviewer: Philipp Hug
philipp@hug.cx
Gerrit-Reviewer: Sean Rhodes
sean@starlabs.systems
Gerrit-Reviewer: Tim Wawrzynczak
inforichland@gmail.com
Gerrit-Reviewer: Yidi Lin
yidilin@google.com
Gerrit-Reviewer: Yu-Ping Wu
yupingso@google.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Reviewer: ron minnich
rminnich@gmail.com
Gerrit-CC: Felix Held
felix-coreboot@felixheld.de
Gerrit-Attention: Hung-Te Lin
hungte@chromium.org
Gerrit-Attention: Cliff Huang
cliff.huang@intel.com
Gerrit-Attention: Philipp Hug
philipp@hug.cx
Gerrit-Attention: Jérémy Compostella
jeremy.compostella@intel.com
Gerrit-Attention: Angel Pons
th3fanbus@gmail.com
Gerrit-Attention: Yidi Lin
yidilin@google.com
Gerrit-Attention: Lance Zhao
lance.zhao@gmail.com
Gerrit-Attention: Sean Rhodes
sean@starlabs.systems
Gerrit-Attention: Caveh Jalali
caveh@chromium.org
Gerrit-Attention: Tim Wawrzynczak
inforichland@gmail.com
Gerrit-Attention: Yu-Ping Wu
yupingso@google.com
Gerrit-Attention: ron minnich
rminnich@gmail.com
Gerrit-Attention: Felix Held
felix-coreboot@felixheld.de
Gerrit-Attention: Boris Mittelberg
bmbm@google.com
Gerrit-Comment-Date: Fri, 17 Nov 2023 13:52:51 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Felix Held
felix-coreboot@felixheld.de
Gerrit-MessageType: comment