Files
linux-stable-mirror/include/uapi/linux
Namhyung Kim 24fc631539 vhost: Fix ioctl # for VHOST_[GS]ET_FORK_FROM_OWNER
The VHOST_[GS]ET_FEATURES_ARRAY ioctl already took 0x83 and it would
result in a build error when the vhost uapi header is used for perf tool
build like below.

  In file included from trace/beauty/ioctl.c:93:
  tools/perf/trace/beauty/generated/ioctl/vhost_virtio_ioctl_array.c: In function ‘ioctl__scnprintf_vhost_virtio_cmd’:
  tools/perf/trace/beauty/generated/ioctl/vhost_virtio_ioctl_array.c:36:18: error: initialized field overwritten [-Werror=override-init]
     36 |         [0x83] = "SET_FORK_FROM_OWNER",
        |                  ^~~~~~~~~~~~~~~~~~~~~
  tools/perf/trace/beauty/generated/ioctl/vhost_virtio_ioctl_array.c:36:18: note: (near initialization for ‘vhost_virtio_ioctl_cmds[131]’)

Fixes: 7d9896e9f6 ("vhost: Reintroduce kthread API and add mode selection")
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Message-Id: <20250819063958.833770-1-namhyung@kernel.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Tested-by: Lei Yang <leiyang@redhat.com>
2025-08-26 03:38:19 -04:00
..
2024-04-15 13:42:38 +02:00
2025-02-08 15:16:29 +00:00
2025-07-16 18:38:05 -07:00
2019-10-09 22:31:14 -04:00
2019-09-25 17:51:39 -07:00
2021-11-26 16:48:59 +01:00
2025-02-05 13:22:04 +09:00
2025-02-12 02:29:30 +00:00
2025-06-24 16:58:42 +02:00
2023-03-16 21:20:32 -07:00
2022-08-10 13:49:50 +01:00
2025-07-14 09:15:58 +02:00
2021-06-03 15:31:34 -07:00
2024-06-01 07:28:21 +02:00
2022-09-20 09:13:38 +02:00
2024-08-19 22:36:26 -04:00
2021-03-10 09:34:06 +01:00
2025-07-08 12:39:24 +02:00
2023-12-15 17:01:30 +01:00
2024-09-06 08:31:40 -06:00
2025-01-08 13:18:11 +01:00
2019-10-02 20:32:27 -06:00
2025-06-24 15:50:06 +02:00
2019-01-22 10:21:45 +01:00
2025-07-14 18:41:42 -07:00
2021-01-07 16:17:32 +01:00
2025-06-19 14:28:22 +02:00
2025-05-21 13:41:03 +02:00
2023-12-29 11:58:24 -08:00
2023-03-23 17:25:46 +01:00
2025-05-27 10:27:54 -04:00
2019-08-01 21:49:46 +02:00