diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-25 19:24:38 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-25 20:35:03 +0100 |
| commit | a984eb367c032dbe2577f01238c3d1268526be70 (patch) | |
| tree | 437fef40379b2758b129ccea39df3570fa2d145e /include/arch/x86_64/misc/ocxl.h | |
| parent | 8834571b202cf4dc9c649cfb096c213b6ecf1566 (diff) | |
Clang-tidy fixes
Diffstat (limited to 'include/arch/x86_64/misc/ocxl.h')
| -rw-r--r-- | include/arch/x86_64/misc/ocxl.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/include/arch/x86_64/misc/ocxl.h b/include/arch/x86_64/misc/ocxl.h index 9ba66e01..838ba0a8 100644 --- a/include/arch/x86_64/misc/ocxl.h +++ b/include/arch/x86_64/misc/ocxl.h @@ -71,15 +71,12 @@ struct ocxl_ioctl_irq_fd { /* ioctl numbers */ #define OCXL_MAGIC 0xCA /* AFU devices */ -#define OCXL_IOCTL_ATTACH _IOW(OCXL_MAGIC, 0x10, struct ocxl_ioctl_attach) -#define OCXL_IOCTL_IRQ_ALLOC _IOR(OCXL_MAGIC, 0x11, __u64) -#define OCXL_IOCTL_IRQ_FREE _IOW(OCXL_MAGIC, 0x12, __u64) -#define OCXL_IOCTL_IRQ_SET_FD _IOW(OCXL_MAGIC, 0x13, struct ocxl_ioctl_irq_fd) -#define OCXL_IOCTL_GET_METADATA \ - _IOR(OCXL_MAGIC, 0x14, struct ocxl_ioctl_metadata) -#define OCXL_IOCTL_ENABLE_P9_WAIT \ - _IOR(OCXL_MAGIC, 0x15, struct ocxl_ioctl_p9_wait) -#define OCXL_IOCTL_GET_FEATURES \ - _IOR(OCXL_MAGIC, 0x16, struct ocxl_ioctl_features) +#define OCXL_IOCTL_ATTACH _IOW(OCXL_MAGIC, 0x10, struct ocxl_ioctl_attach) +#define OCXL_IOCTL_IRQ_ALLOC _IOR(OCXL_MAGIC, 0x11, __u64) +#define OCXL_IOCTL_IRQ_FREE _IOW(OCXL_MAGIC, 0x12, __u64) +#define OCXL_IOCTL_IRQ_SET_FD _IOW(OCXL_MAGIC, 0x13, struct ocxl_ioctl_irq_fd) +#define OCXL_IOCTL_GET_METADATA _IOR(OCXL_MAGIC, 0x14, struct ocxl_ioctl_metadata) +#define OCXL_IOCTL_ENABLE_P9_WAIT _IOR(OCXL_MAGIC, 0x15, struct ocxl_ioctl_p9_wait) +#define OCXL_IOCTL_GET_FEATURES _IOR(OCXL_MAGIC, 0x16, struct ocxl_ioctl_features) #endif /* _MISC_OCXL_H */ |
