Felix Held has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38863 )
Change subject: superio/common: Validate devicetree
......................................................................
Patch Set 2: Code-Review+1
(1 comment)
https://review.coreboot.org/c/coreboot/+/38863/2/src/superio/common/ssdt.c
File src/superio/common/ssdt.c:
https://review.coreboot.org/c/coreboot/+/38863/2/src/superio/common/ssdt.c@1...
PS2, Line 167: const u8 ldn = dev->path.pnp.device & 0xff;
: const u8 vldn = (dev->path.pnp.device >> 8) & 0x7;
here *dev already gets dereferenced, the check that dev isn't 0 probably should be before and not after this
--
To view, visit
https://review.coreboot.org/c/coreboot/+/38863
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6cbcba8ac86a2a837e23055fdd7e529f9b3277a2
Gerrit-Change-Number: 38863
Gerrit-PatchSet: 2
Gerrit-Owner: Patrick Rudolph
patrick.rudolph@9elements.com
Gerrit-Reviewer: Felix Held
felix-coreboot@felixheld.de
Gerrit-Reviewer: Patrick Rudolph
patrick.rudolph@9elements.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Tue, 25 Feb 2020 18:30:12 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment