[PATCH] linux: Propagate failure up to xf86MapVidMem (#18304)

Keith Packard keithp at keithp.com
Mon Apr 21 21:53:54 PDT 2014


walter harms <wharms at bfs.de> writes:

> this looks strange, what fd is checked in case open(DEV_MEM,... is
> never called ?

You're just seeing part of the #if, which is opening DEV_MEM in both
paths, once with O_SYNC and once without it (the O_SYNC path is never
taken as it's #if 0)

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20140421/9f2bc758/attachment.sig>


More information about the xorg-devel mailing list