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

Martin-Éric Racine q-funk at iki.fi
Fri Aug 6 09:46:31 PDT 2010


2010/8/6 Martin-Éric Racine <q-funk at iki.fi>:
> 2010/8/6 Martin-Éric Racine <q-funk at iki.fi>:
>> 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
>
>
> After applying Hunk's two patches from 12th July:
>
> lx_display.c:372: warning: no previous prototype for ‘LXAllocShadow’
> lx_display.c: In function ‘lx_crtc_shadow_allocate’:
> lx_display.c:407: warning: comparison between pointer and integer
> lx_display.c: In function ‘LXAllocShadow’:
> lx_display.c:393: warning: control reaches end of non-void function
>
> Martin-Éric

Please see http://pastie.org/1079903 for a log of remaining compiler messages.

Martin-Éric


More information about the Xorg-driver-geode mailing list