Subject: linux-next: build failure after merge of the vfs-brauner tree

From: Stephen Rothwell <[email-masked]>
Date: Mon, 17 Nov 2025 08:43:26 +1100

Hi all,

After merging the vfs-brauner tree, today's linux-next build (x86_64
allmodconfig) failed like this:

In file included from samples/check-exec/inc.c:16:
usr/include/linux/fcntl.h:88:9: error: unknown type name 'uint32_t'
   88 |         uint32_t        d_flags;        /* Must be 0 */
      |         ^~~~~~~~
usr/include/linux/fcntl.h:7:1: note: 'uint32_t' is defined in header '<stdint.h>'; this is probably fixable by adding '#include <stdint.h>'
    6 | #include <linux/openat2.h>
  +++ |+#include <stdint.h>
    7 | 
usr/include/linux/fcntl.h:89:9: error: unknown type name 'uint16_t'
   89 |         uint16_t        d_type;         /* F_RDLCK, F_WRLCK, F_UNLCK */
      |         ^~~~~~~~
usr/include/linux/fcntl.h:89:9: note: 'uint16_t' is defined in header '<stdint.h>'; this is probably fixable by adding '#include <stdint.h>'
usr/include/linux/fcntl.h:90:9: error: unknown type name 'uint16_t'
   90 |         uint16_t        __pad;          /* Must be 0 */
      |         ^~~~~~~~
usr/include/linux/fcntl.h:90:9: note: 'uint16_t' is defined in header '<stdint.h>'; this is probably fixable by adding '#include <stdint.h>'
In file included from samples/vfs/test-statx.c:23:
usr/include/linux/fcntl.h:88:9: error: unknown type name 'uint32_t'
   88 |         uint32_t        d_flags;        /* Must be 0 */
      |         ^~~~~~~~
usr/include/linux/fcntl.h:7:1: note: 'uint32_t' is defined in header '<stdint.h>'; this is probably fixable by adding '#include <stdint.h>'
    6 | #include <linux/openat2.h>
  +++ |+#include <stdint.h>
    7 | 
usr/include/linux/fcntl.h:89:9: error: unknown type name 'uint16_t'
   89 |         uint16_t        d_type;         /* F_RDLCK, F_WRLCK, F_UNLCK */
      |         ^~~~~~~~
usr/include/linux/fcntl.h:89:9: note: 'uint16_t' is defined in header '<stdint.h>'; this is probably fixable by adding '#include <stdint.h>'
usr/include/linux/fcntl.h:90:9: error: unknown type name 'uint16_t'
   90 |         uint16_t        __pad;          /* Must be 0 */
      |         ^~~~~~~~
usr/include/linux/fcntl.h:90:9: note: 'uint16_t' is defined in header '<stdint.h>'; this is probably fixable by adding '#include <stdint.h>'
In file included from usr/include/linux/watch_queue.h:6,
                 from samples/watch_queue/watch_test.c:19:
usr/include/linux/fcntl.h:88:9: error: unknown type name 'uint32_t'
   88 |         uint32_t        d_flags;        /* Must be 0 */
      |         ^~~~~~~~
usr/include/linux/fcntl.h:7:1: note: 'uint32_t' is defined in header '<stdint.h>'; this is probably fixable by adding '#include <stdint.h>'
    6 | #include <linux/openat2.h>
  +++ |+#include <stdint.h>
    7 | 
usr/include/linux/fcntl.h:89:9: error: unknown type name 'uint16_t'
   89 |         uint16_t        d_type;         /* F_RDLCK, F_WRLCK, F_UNLCK */
      |         ^~~~~~~~
usr/include/linux/fcntl.h:89:9: note: 'uint16_t' is defined in header '<stdint.h>'; this is probably fixable by adding '#include <stdint.h>'
usr/include/linux/fcntl.h:90:9: error: unknown type name 'uint16_t'
   90 |         uint16_t        __pad;          /* Must be 0 */
      |         ^~~~~~~~
usr/include/linux/fcntl.h:90:9: note: 'uint16_t' is defined in header '<stdint.h>'; this is probably fixable by adding '#include <stdint.h>'
In file included from ./usr/include/linux/eventfd.h:5,
                 from <command-line>:
usr/include/linux/fcntl.h:88:9: error: unknown type name 'uint32_t'
   88 |         uint32_t        d_flags;        /* Must be 0 */
      |         ^~~~~~~~
usr/include/linux/fcntl.h:89:9: error: unknown type name 'uint16_t'
   89 |         uint16_t        d_type;         /* F_RDLCK, F_WRLCK, F_UNLCK */
      |         ^~~~~~~~
usr/include/linux/fcntl.h:90:9: error: unknown type name 'uint16_t'
   90 |         uint16_t        __pad;          /* Must be 0 */
      |         ^~~~~~~~

Caused by commit

  1602bad16d7d ("vfs: expose delegation support to userland")

I have used the vfs-brauner tree from next-20251114 for today.

-- 
Cheers,
Stephen Rothwell