[coreboot-gerrit] Patch merged into coreboot/master: northbridge/amd/amdfam10: Remove array to null comparison
gerrit at coreboot.org
gerrit at coreboot.org
Tue Jul 7 01:38:20 CEST 2015
the following patch was just integrated into master:
commit 46b2271ea49d43607cbed273b367f48cf04d844d
Author: Timothy Pearson <tpearson at raptorengineeringinc.com>
Date: Sun Apr 12 14:11:27 2015 -0500
northbridge/amd/amdfam10: Remove array to null comparison
The address of array 'sysinfo->DCTstatA' will always evaluate to 'true'.
Remove checking the base pointer of an array for validity.
Found-by: Coverity (CID 1293135: Incorrect expression)
Found-by: Clang (Wpointer-bool-conversion)
Change-Id: I99c9c9f1564dfb997c60b2a895d664e3b06c117b
Signed-off-by: Timothy Pearson <tpearson at raptorengineeringinc.com>
Reviewed-on: http://review.coreboot.org/9596
Tested-by: build bot (Jenkins)
Tested-by: Raptor Engineering Automated Test Stand <noreply at raptorengineeringinc.com>
Reviewed-by: Aaron Durbin <adurbin at chromium.org>
See http://review.coreboot.org/9596 for details.
-gerrit
More information about the coreboot-gerrit
mailing list