Google
  Web www.spinics.net

Re: xf86-video-intel 2.5 release planning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Thu, Jul 31, 2008 at 05:52:28PM -0400, Eamon Walsh wrote:
> Attached is a privates.c where dixLookupPrivate has been reduced to a  
> test + array index. 
>
> The problem is that it needs to store the array index into the memory  
> referenced by the "key" pointer.  Currently there is no requirement on  
> "key" other than being a unique value.
>
> So committing this requires some refactoring first.  Basically turning  
> "static DevPrivateKey foo = &foo" into "static int blah; static  
> DevPrivateKey foo = &blah".  After it's done it can be committed.  Maybe  
> even backported.

I got problem with compilation. Most probably it needs modified privates.h as
well. DevPrivateKey cannot be void * while you dereference it and it also
complains that size of PrivateRec is not know (you instantiate it at line 111
PrivateRec value = NULL)

-- 
Lukáš Hejtmánek
_______________________________________________
xorg mailing list
xorg@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/xorg


[X Forum]     [Devices]     [XFree86]     [XFree86 Newbie]     [Site Home]     [IETF Annouce]     [Security]     [Fontconfig]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Video for Linux]     [Linux RAID]     [Linux Resources]

Powered by Linux