From a984eb367c032dbe2577f01238c3d1268526be70 Mon Sep 17 00:00:00 2001 From: Kacper Date: Thu, 25 Dec 2025 19:24:38 +0100 Subject: Clang-tidy fixes --- include/arch/x86_64/linux/switchtec_ioctl.h | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) (limited to 'include/arch/x86_64/linux/switchtec_ioctl.h') diff --git a/include/arch/x86_64/linux/switchtec_ioctl.h b/include/arch/x86_64/linux/switchtec_ioctl.h index 91f5408d..ba276c95 100644 --- a/include/arch/x86_64/linux/switchtec_ioctl.h +++ b/include/arch/x86_64/linux/switchtec_ioctl.h @@ -143,19 +143,12 @@ struct switchtec_ioctl_pff_port { __u32 port; }; -#define SWITCHTEC_IOCTL_FLASH_INFO \ - _IOR('W', 0x40, struct switchtec_ioctl_flash_info) -#define SWITCHTEC_IOCTL_FLASH_PART_INFO \ - _IOWR('W', 0x41, struct switchtec_ioctl_flash_part_info) -#define SWITCHTEC_IOCTL_EVENT_SUMMARY \ - _IOR('W', 0x42, struct switchtec_ioctl_event_summary) -#define SWITCHTEC_IOCTL_EVENT_SUMMARY_LEGACY \ - _IOR('W', 0x42, struct switchtec_ioctl_event_summary_legacy) -#define SWITCHTEC_IOCTL_EVENT_CTL \ - _IOWR('W', 0x43, struct switchtec_ioctl_event_ctl) -#define SWITCHTEC_IOCTL_PFF_TO_PORT \ - _IOWR('W', 0x44, struct switchtec_ioctl_pff_port) -#define SWITCHTEC_IOCTL_PORT_TO_PFF \ - _IOWR('W', 0x45, struct switchtec_ioctl_pff_port) +#define SWITCHTEC_IOCTL_FLASH_INFO _IOR('W', 0x40, struct switchtec_ioctl_flash_info) +#define SWITCHTEC_IOCTL_FLASH_PART_INFO _IOWR('W', 0x41, struct switchtec_ioctl_flash_part_info) +#define SWITCHTEC_IOCTL_EVENT_SUMMARY _IOR('W', 0x42, struct switchtec_ioctl_event_summary) +#define SWITCHTEC_IOCTL_EVENT_SUMMARY_LEGACY _IOR('W', 0x42, struct switchtec_ioctl_event_summary_legacy) +#define SWITCHTEC_IOCTL_EVENT_CTL _IOWR('W', 0x43, struct switchtec_ioctl_event_ctl) +#define SWITCHTEC_IOCTL_PFF_TO_PORT _IOWR('W', 0x44, struct switchtec_ioctl_pff_port) +#define SWITCHTEC_IOCTL_PORT_TO_PFF _IOWR('W', 0x45, struct switchtec_ioctl_pff_port) #endif -- cgit v1.2.3