diff options
author | Patrick Georgi <pgeorgi@chromium.org> | 2016-04-14 11:53:48 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-04-15 16:26:39 +0200 |
commit | 831d65d0ba68be630e3c323e24e2be071456a9e8 (patch) | |
tree | 894d8292f0c8971cab51d9597f6db5328a7d8c4b /util/crossgcc | |
parent | 17573035fd6832499a63523d4cd4f70a817a1460 (diff) |
intel/apollolake: Fix logic error
Testing dev->chip == NULL when dev == NULL doesn't make sense (and gcc
thinks that's undefined behavior which should be rewarded with a trap).
Change-Id: I801ce3d6b791fdf96b23333432dee394aa2e2ddf
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-on: https://review.coreboot.org/14360
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Andrey Petrov <andrey.petrov@intel.com>
Diffstat (limited to 'util/crossgcc')
0 files changed, 0 insertions, 0 deletions