Files
linux-stable-mirror/include/uapi/linux
Namhyung Kim 7bab8fb51d vhost: Fix ioctl # for VHOST_[GS]ET_FORK_FROM_OWNER
[ Upstream commit 24fc631539 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-09-04 15:31:43 +02:00
..
2024-07-31 13:56:00 +02:00
2025-02-17 10:05:04 +01:00
2024-08-20 14:02:22 -04:00
2024-08-28 06:53:58 -07:00
2024-08-28 06:53:58 -07:00
2024-09-04 16:51:11 +02:00
2024-08-29 10:39:37 +02:00
2024-08-26 09:37:23 -07:00
2024-08-26 09:37:23 -07:00
2025-08-20 18:30:11 +02:00
2024-09-01 20:26:05 -07:00
2025-04-20 10:15:55 +02:00
2024-08-19 22:36:26 -04:00
2024-09-06 08:31:40 -06:00
2024-09-11 20:44:32 -07:00
2024-08-12 17:50:34 -07:00