xf86-video-r128: Branch 'master' - 2 commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Oct 24 21:50:20 UTC 2022


 .gitlab-ci.yml |    4 ++--
 src/r128.h     |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit e9cf08f26c897b3f2de40eba7c07d2e1e47a14c1
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Mon Oct 17 11:13:00 2022 -0700

    R128RAMRec: constify name pointer
    
    Clears 4 gcc warnings:
    r128_driver.c:178:36: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
         { 4, 4, 3, 3, 1, 3, 1, 16, 12, "128-bit SDR SGRAM 1:1" },
                                        ^~~~~~~~~~~~~~~~~~~~~~~
    r128_driver.c:179:36: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
         { 4, 8, 3, 3, 1, 3, 1, 17, 13, "64-bit SDR SGRAM 1:1" },
                                        ^~~~~~~~~~~~~~~~~~~~~~
    r128_driver.c:180:36: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
         { 4, 4, 1, 2, 1, 2, 1, 16, 12, "64-bit SDR SGRAM 2:1" },
                                        ^~~~~~~~~~~~~~~~~~~~~~
    r128_driver.c:181:36: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
         { 4, 4, 3, 3, 2, 3, 1, 16, 12, "64-bit DDR SGRAM" },
                                        ^~~~~~~~~~~~~~~~~~
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

diff --git a/src/r128.h b/src/r128.h
index ebe95dc..6ab6beb 100644
--- a/src/r128.h
+++ b/src/r128.h
@@ -154,7 +154,7 @@ typedef struct {        /* All values in XCLKS    */
     int  Tr2w;          /* Read to Write Delay    */
     int  Rloop;         /* Loop Latency           */
     int  Rloop_fudge;   /* Add to ML to get Rloop */
-    char *name;
+    const char *name;
 } R128RAMRec, *R128RAMPtr;
 
 typedef struct {
commit 3142544e8dd39aceea948d4d69810132240440b8
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Thu Jul 28 17:30:21 2022 -0700

    gitlab CI: stop requiring Signed-off-by in commits
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a0ee305..b3fd3e1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -35,14 +35,14 @@ variables:
 
 
 #
-# Verify that commit messages are as expected, signed-off, etc.
+# Verify that commit messages are as expected
 #
 check-commits:
   extends:
     - .fdo.ci-fairy
   stage: prep
   script:
-    - ci-fairy check-commits --signed-off-by --junit-xml=results.xml
+    - ci-fairy check-commits --junit-xml=results.xml
   except:
     - master at xorg/driver/xf86-video-r128
   variables:


More information about the xorg-commit mailing list