Hello Nicolas Boichat, Duncan Laurie, build bot (Jenkins), Furquan Shaikh,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/23661
to look at the new patch set (#2).
Change subject: chromeec: Fix ACPI compile warning
......................................................................
chromeec: Fix ACPI compile warning
For system without secondary battery, current DSDT will report warning
during build time. Add a conditional check to make sure only battery
index 0 can return success.
TEST=Build pass.
Change-Id: Iae12c5d1aa749948ef4025c8b5e60c97e1b747a5
Signed-off-by: Lijian Zhao <lijian.zhao(a)intel.com>
---
M src/ec/google/chromeec/acpi/battery.asl
1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/61/23661/2
--
To view, visit https://review.coreboot.org/23661
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Iae12c5d1aa749948ef4025c8b5e60c97e1b747a5
Gerrit-Change-Number: 23661
Gerrit-PatchSet: 2
Gerrit-Owner: Lijian Zhao <lijian.zhao(a)intel.com>
Gerrit-Reviewer: Duncan Laurie <dlaurie(a)chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Nicolas Boichat <drinkcat(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/23661 )
Change subject: chromeec: Fix ACPI compile warning
......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/#/c/23661/1/src/ec/google/chromeec/acpi/battery…
File src/ec/google/chromeec/acpi/battery.asl:
https://review.coreboot.org/#/c/23661/1/src/ec/google/chromeec/acpi/battery…
PS1, Line 52: }
> #ifdef ... […]
Or basically what Nicolas said. I did not read his comment before :).
--
To view, visit https://review.coreboot.org/23661
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iae12c5d1aa749948ef4025c8b5e60c97e1b747a5
Gerrit-Change-Number: 23661
Gerrit-PatchSet: 1
Gerrit-Owner: Lijian Zhao <lijian.zhao(a)intel.com>
Gerrit-Reviewer: Duncan Laurie <dlaurie(a)chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Nicolas Boichat <drinkcat(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 09 Feb 2018 01:03:11 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
Nicolas Boichat has posted comments on this change. ( https://review.coreboot.org/23661 )
Change subject: chromeec: Fix ACPI compile warning
......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/#/c/23661/1/src/ec/google/chromeec/acpi/battery…
File src/ec/google/chromeec/acpi/battery.asl:
https://review.coreboot.org/#/c/23661/1/src/ec/google/chromeec/acpi/battery…
PS1, Line 52: }
> #ifdef ... […]
Right, or just use my snippet above and keep the Return (Zero) outside of both #if branches ,-))
--
To view, visit https://review.coreboot.org/23661
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iae12c5d1aa749948ef4025c8b5e60c97e1b747a5
Gerrit-Change-Number: 23661
Gerrit-PatchSet: 1
Gerrit-Owner: Lijian Zhao <lijian.zhao(a)intel.com>
Gerrit-Reviewer: Duncan Laurie <dlaurie(a)chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Nicolas Boichat <drinkcat(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 09 Feb 2018 01:02:49 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No