[coreboot-gerrit] Patch merged into coreboot/master: ec/ene932: correct ACPI battery data fed into ToString()

gerrit at coreboot.org gerrit at coreboot.org
Thu Dec 15 23:39:07 CET 2016


the following patch was just integrated into master:
commit 678923c2b7f8c50746be4e49f9ad3ccd1ca11c45
Author: Matt DeVillier <matt.devillier at gmail.com>
Date:   Fri Dec 9 18:14:57 2016 -0600

    ec/ene932: correct ACPI battery data fed into ToString()
    
    ToString() requires the input buffer data to be null-terminated,
    but the data returned by the EC is not, leading Windows to fail
    to report any battery data at all.  Correct this by concatenating
    a null terminator (0x00) to the end of the buffer data before
    inputting to ToString() where needed
    
    Change-Id: Ic86048d1d6354b9b0dac3c8957df318d0825c905
    Signed-off-by: Matt DeVillier <matt.devillier at gmail.com>
    Reviewed-on: https://review.coreboot.org/17783
    Tested-by: build bot (Jenkins)
    Reviewed-by: Nico Huber <nico.h at gmx.de>


See https://review.coreboot.org/17783 for details.

-gerrit



More information about the coreboot-gerrit mailing list