Patrick Georgi has uploaded this change for review. ( https://review.coreboot.org/c/em100/+/37147 )
Change subject: Really fix the chip detection ......................................................................
Really fix the chip detection
if (!chip) is still always wrong (because it comes from an array)
Signed-off-by: Patrick Georgi pgeorgi@google.com Change-Id: Idf472003e5d0ab65c8e1c5acb61b416720cd317f --- M em100.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/em100 refs/changes/47/37147/1
diff --git a/em100.c b/em100.c index 50b04b4..c806413 100644 --- a/em100.c +++ b/em100.c @@ -626,7 +626,7 @@ break; }
- if (!chip) + if (!chip->name) return 1;
*out = chip;