Attention is currently required from: Martin L Roth, Maxim Polyakov, David Hendricks.
ron minnich has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/67132 )
Change subject: intelp2m/patform/sunrise: Add unit tests
......................................................................
Patch Set 14: Code-Review+2
(2 comments)
Patchset:
PS14:
looks fine, I did have one nit, which you might want to look at.
File util/intelp2m/platforms/test/suite.go:
https://review.coreboot.org/c/coreboot/+/67132/comment/dc2e3535_b94f3379
PS14, Line 47: err = fmt.Errorf(format, "LONG", m.Long, actually)
in code like this it's a bit more idiomatic to do this:
if condition {
return error
}
if condition {
return error
}
return nil
no need to declare the error and it's a bit more like other code.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/67132
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I15c7483f120a330849d4bad036427be205b0911c
Gerrit-Change-Number: 67132
Gerrit-PatchSet: 14
Gerrit-Owner: Maxim Polyakov
max.senia.poliak@gmail.com
Gerrit-Reviewer: David Hendricks
david.hendricks@gmail.com
Gerrit-Reviewer: Martin L Roth
gaumless@gmail.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Reviewer: ron minnich
rminnich@gmail.com
Gerrit-Attention: Martin L Roth
gaumless@gmail.com
Gerrit-Attention: Maxim Polyakov
max.senia.poliak@gmail.com
Gerrit-Attention: David Hendricks
david.hendricks@gmail.com
Gerrit-Comment-Date: Mon, 02 Jan 2023 00:59:58 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment