[coreboot-gerrit] Patch merged into coreboot/master: b0cbb2c drivers/intel/gma: Uninitialized var before if condition

gerrit at coreboot.org gerrit at coreboot.org
Wed Jun 25 11:38:38 CEST 2014


the following patch was just integrated into master:
commit b0cbb2cd174a55098135f3419c50ad2a8f72a1eb
Author: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Date:   Tue Jun 17 15:04:36 2014 +1000

    drivers/intel/gma: Uninitialized var before if condition
    
    The variable 'wait' is used uninitialized whenever 'if' condition is false
                    if (val & DDI_BUF_CTL_ENABLE) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~
    
    Leading to an uninitialized use occurs here:
                    if (wait)
                        ^~~~
    
    Change-Id: I7d96bf1e33b9c4312d4a0ba8276e83d17d6cd070
    Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
    Reviewed-on: http://review.coreboot.org/6052
    Tested-by: build bot (Jenkins)
    Reviewed-by: Paul Menzel <paulepanter at users.sourceforge.net>
    Reviewed-by: Kyösti Mälkki <kyosti.malkki at gmail.com>


See http://review.coreboot.org/6052 for details.

-gerrit



More information about the coreboot-gerrit mailing list