[PATCH 1/2] drm: drmIoctl return -errno on failure conditions
Dave Airlie
airlied at gmail.com
Wed Jun 6 23:00:46 PDT 2012
On Thu, Jun 7, 2012 at 12:41 AM, Ben Widawsky <ben at bwidawsk.net> wrote:
> Anyone aware of what this will break? It seems to be a much nicer thing
> to do for callers. If people do not like it, I will probably just create
> a #define drmIoctl2 or some such thing.
>
uggh no you going to redeine open/read/write as well?
think of it aa system call, they return -1 and set errno.
Dave.
More information about the dri-devel
mailing list