Re: (subset) [PATCH v1 0/2] io_uring uapi updates

From: Ammar Faizi
Date: Wed Nov 16 2022 - 01:49:28 EST


On 11/16/22 1:34 PM, Ammar Faizi wrote:
On 11/16/22 6:14 AM, Jens Axboe wrote:
On Wed, 16 Nov 2022 04:29:51 +0700, Ammar Faizi wrote:
From: Ammar Faizi <ammarfaizi2@xxxxxxxxxxx>

Hi Jens,

io_uring uapi updates:

1) Don't force linux/time_types.h for userspace. Linux's io_uring.h is
    synced 1:1 into liburing's io_uring.h. liburing has a configure
    check to detect the need for linux/time_types.h (Stefan).

[...]

Applied, thanks!

[1/2] io_uring: uapi: Don't force linux/time_types.h for userspace
       commit: 958bfdd734b6074ba88ee3abc69d0053e26b7b9c

Jens, please drop this commit. It breaks the build:

All errors (new ones prefixed by >>):

   In file included from <command-line>:
./usr/include/linux/io_uring.h:654:41: error: field 'timeout' has incomplete type
     654 |         struct __kernel_timespec        timeout;
         |                                         ^~~~~~~

https://lore.kernel.org/r/202211161421.AfP10hq6-lkp@xxxxxxxxx

--
Ammar Faizi