[coreboot-gerrit] Patch merged into coreboot/master: drivers/elog: use offsets for checking cleared buffers

gerrit at coreboot.org gerrit at coreboot.org
Mon Aug 8 22:02:56 CEST 2016


the following patch was just integrated into master:
commit 422c440fa67d003a65196edac56318cd0da81bf6
Author: Aaron Durbin <adurbin at chromium.org>
Date:   Thu Aug 4 10:21:06 2016 -0500

    drivers/elog: use offsets for checking cleared buffers
    
    There's only 2 users of checking if the event buffer is cleared
    to the EOL value. Each were passing pointers of the in-memory
    mirror while also doing calculations for the size to check. Since
    the in-memory mirror is one big buffer the only thing required
    to know is the offset to start checking from. The check is always
    done through the end of the buffer.
    
    BUG=chrome-os-partner:55932
    
    Change-Id: Icd4a7edc74407d6578fc93e9eb533abd3aa17277
    Signed-off-by: Aaron Durbin <adurbin at chromium.org>
    Reviewed-on: https://review.coreboot.org/16096
    Tested-by: build bot (Jenkins)
    Reviewed-by: Furquan Shaikh <furquan at google.com>


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

-gerrit



More information about the coreboot-gerrit mailing list