xf86-video-s3: Changes to 'master'

Alan Coopersmith alanc at kemper.freedesktop.org
Sun Mar 27 17:40:12 UTC 2016


 src/s3_bios.c |   68 ----------------------------------------------------------
 1 file changed, 1 insertion(+), 67 deletions(-)

New commits:
commit 82bd67a255fb45847d8a10811641bc0b203ba864
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Thu Mar 17 10:27:51 2016 -0700

    s3_bios.c: Simplify code for choosing between 16000 & 16000 for RefClock
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 7b454358082fc07985878fc92b902d7534144cae
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Mar 12 10:54:22 2016 -0800

    When checking malloc for success, it helps to use == NULL, instead of =
    
    Fixes gcc 5.3 compiler warning:
    s3_bios.c: In function 'find_bios_string':
    s3_bios.c:49:2: warning: suggest parentheses around assignment used as
        truth value [-Wparentheses]
      if (bios = NULL)
        ^
    
    [Tested by compiling only, as I have no S3 hardware, but clearly no one
     else has tested this code since commit c41a1188ce53 in 2009, as it would
     be segfaulting if run.]
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list