summaryrefslogtreecommitdiff
path: root/util/ectool/ectool.c
diff options
context:
space:
mode:
authorTimothy Pearson <tpearson@raptorengineeringinc.com>2015-04-12 14:11:27 -0500
committerStefan Reinauer <stefan.reinauer@coreboot.org>2015-07-07 01:38:17 +0200
commit46b2271ea49d43607cbed273b367f48cf04d844d (patch)
tree76698c5bbbcb9359a73706f9d76d507208659bec /util/ectool/ectool.c
parent0004ae8f4bf13e549474c5db998f4708fb0b88e8 (diff)
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@raptorengineeringinc.com> Reviewed-on: http://review.coreboot.org/9596 Tested-by: build bot (Jenkins) Tested-by: Raptor Engineering Automated Test Stand <noreply@raptorengineeringinc.com> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'util/ectool/ectool.c')
0 files changed, 0 insertions, 0 deletions