[Xorg-driver-geode] outstanding compiler warnings on xf86-video-geode

Martin-Éric Racine q-funk at iki.fi
Fri Aug 6 03:01:37 PDT 2010


When running distcheck on our Geode GIT tree, I found that the
following compiler warnings still remain:

1) when compiling panel.lo:

  CC     panel.lo
In file included from ../../src/panel/pnl_init.c:64,
                 from ../../src/panel.c:56:
../../src/panel/gx2_9211.c: In function ‘set_Redcloud_92xx_mode_params’:
../../src/panel/gx2_9211.c:199: warning: passing argument 3 of
‘gfx_msr_read’ from incompatible pointer type
../../src/gfx/gfx_rtns.h:132: note: expected ‘struct QQ_WORD *’ but
argument is of type ‘struct Q_WORD *’
../../src/panel/gx2_9211.c:206: warning: passing argument 3 of
‘gfx_msr_write’ from incompatible pointer type
../../src/gfx/gfx_rtns.h:134: note: expected ‘struct QQ_WORD *’ but
argument is of type ‘struct Q_WORD *’

2) when compiling z4l.lo:

  CC     z4l.lo
../../src/z4l.c: In function ‘Z4lSetPortAttribute’:
../../src/z4l.c:1187: warning: initialization discards qualifiers from
pointer target type
../../src/z4l.c: In function ‘Z4lGetPortAttribute’:
../../src/z4l.c:1248: warning: initialization discards qualifiers from
pointer target type

I was wondering if we could fix these before producing the Geode 2.11.9 release?

Cheers!
Martin-Éric


More information about the Xorg-driver-geode mailing list