[coreboot-gerrit] Patch merged into coreboot/master: rockchip/common: Set weekday to unknown in rtc_get()

gerrit at coreboot.org gerrit at coreboot.org
Wed Aug 10 23:11:25 CEST 2016


the following patch was just integrated into master:
commit a7a9c463fd4cecd4152868fdd760030bf8970e43
Author: Martin Roth <martinroth at google.com>
Date:   Tue Jul 26 09:03:25 2016 -0600

    rockchip/common: Set weekday to unknown in rtc_get()
    
    Prior to this patch, time->wday was not being initialized in rtc_get(),
    but was still being used by rtc_display() to print a day.
    
    Set to -1 which gets printed as "unknown ".
    
    Fixes coverity issue 1357459 - Uninitialized scalar variable
    
    Change-Id: Idecb7968f854df997b58a342e1a06a879f299394
    Signed-off-by: Martin Roth <martinroth at google.com>
    Reviewed-on: https://review.coreboot.org/15899
    Tested-by: build bot (Jenkins)
    Reviewed-by: Patrick Georgi <pgeorgi at google.com>
    Reviewed-by: Paul Menzel <paulepanter at users.sourceforge.net>
    Reviewed-by: Julius Werner <jwerner at chromium.org>


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

-gerrit



More information about the coreboot-gerrit mailing list