[PATCH] Convert all calls of CreateNewResourceType to CreateNewResourceTypeNamed
Soeren Sandmann
sandmann at daimi.au.dk
Thu Feb 12 20:43:40 PST 2009
Alan Coopersmith <alan.coopersmith at sun.com> writes:
> Also cleaned up various bits of checking to see if CreateNewResourceType
> failed, including several places where the result was |'ed with flag bits
> before checking to see if it was 0.
Maybe simply change CreateNewResource() to take a name? That way we
avoid getting new resources types created without names in the
future. I don't think any of the open source drivers create new
resource types.
(I did something similar a while back, that I had forgotten about --
that patch is here:
http://www.daimi.au.dk/~sandmann/resnames.patch
though it's probably not useful given that yours also fixes the return
values).
Soren
More information about the xorg-devel
mailing list