[coreboot-gerrit] Change in coreboot[master]: src/cpu/intel: Don't hide pointers behind typedefs

Nico Huber (Code Review) gerrit at coreboot.org
Thu Feb 8 13:53:22 CET 2018


Nico Huber has posted comments on this change. ( https://review.coreboot.org/23652 )

Change subject: src/cpu/intel: Don't hide pointers behind typedefs
......................................................................


Patch Set 3:

(3 comments)

https://review.coreboot.org/#/c/23652/3//COMMIT_MSG
Commit Message:

https://review.coreboot.org/#/c/23652/3//COMMIT_MSG@7
PS3, Line 7: src/cpu/intel: Don't hide pointers behind typedefs
Please state what this patch does, not why. e.g.

  cpu/intel: Use struct device

or

  cpu/intel: Get rid off device_t

And remove the src/ prefix, that is obvious.


https://review.coreboot.org/#/c/23652/3//COMMIT_MSG@9
PS3, Line 9: See Change 7146
7146 has no commit message at all, so why point there???
You could state something like "Use of `device_t` has been
abandoned in ramstage."


https://review.coreboot.org/#/c/23652/3/src/cpu/intel/haswell/smmrelocate.c
File src/cpu/intel/haswell/smmrelocate.c:

https://review.coreboot.org/#/c/23652/3/src/cpu/intel/haswell/smmrelocate.c@312
PS3, Line 312: 	dev = dev_find_slot(0, PCI_DEVFN(0, 0));
Why split in two lines?



-- 
To view, visit https://review.coreboot.org/23652
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I17675b004023453f137abd387cfacd308d9b98b5
Gerrit-Change-Number: 23652
Gerrit-PatchSet: 3
Gerrit-Owner: Elyes HAOUAS <ehaouas at noos.fr>
Gerrit-Reviewer: Nico Huber <nico.h at gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>
Gerrit-Comment-Date: Thu, 08 Feb 2018 12:53:22 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180208/bbbcc376/attachment.html>


More information about the coreboot-gerrit mailing list