Alan Coopersmith <[email protected]> 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
_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to