Re: [PATCH igt] lib: Report the error from __gem_create()

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

 



On Tue, 2017-10-03 at 12:50 +0100, Chris Wilson wrote:
> We have two style of ioctl wrappers. The principle interface does error
> checking on behalf of the caller (to avoid having lots of repetitious
> code in each test), and for the few cases where the error is important
> for the test, we also expose a double underscore version. Fix up
> __gem_create() to follow this pattern and report the negative error code
> returned by the kernel.
> 
> Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
> Cc: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx>

Oh, there were that few users...

Reviewed-by: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx>

Regards, Joonas
-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux