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/fpga-dfl.h | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'include/arch/x86_64/linux/fpga-dfl.h') diff --git a/include/arch/x86_64/linux/fpga-dfl.h b/include/arch/x86_64/linux/fpga-dfl.h index c4c4870e..a154dd65 100644 --- a/include/arch/x86_64/linux/fpga-dfl.h +++ b/include/arch/x86_64/linux/fpga-dfl.h @@ -172,8 +172,7 @@ struct dfl_fpga_irq_set { * feature. Currently hardware supports up to 1 irq. * Return: 0 on success, -errno on failure. */ -#define DFL_FPGA_PORT_ERR_GET_IRQ_NUM \ - _IOR(DFL_FPGA_MAGIC, DFL_PORT_BASE + 5, __u32) +#define DFL_FPGA_PORT_ERR_GET_IRQ_NUM _IOR(DFL_FPGA_MAGIC, DFL_PORT_BASE + 5, __u32) /** * DFL_FPGA_PORT_ERR_SET_IRQ - _IOW(DFL_FPGA_MAGIC, DFL_PORT_BASE + 6, @@ -183,8 +182,7 @@ struct dfl_fpga_irq_set { * Unset related interrupt trigger if evtfds[n] is a negative value. * Return: 0 on success, -errno on failure. */ -#define DFL_FPGA_PORT_ERR_SET_IRQ \ - _IOW(DFL_FPGA_MAGIC, DFL_PORT_BASE + 6, struct dfl_fpga_irq_set) +#define DFL_FPGA_PORT_ERR_SET_IRQ _IOW(DFL_FPGA_MAGIC, DFL_PORT_BASE + 6, struct dfl_fpga_irq_set) /** * DFL_FPGA_PORT_UINT_GET_IRQ_NUM - _IOR(DFL_FPGA_MAGIC, DFL_PORT_BASE + 7, @@ -194,8 +192,7 @@ struct dfl_fpga_irq_set { * feature. * Return: 0 on success, -errno on failure. */ -#define DFL_FPGA_PORT_UINT_GET_IRQ_NUM \ - _IOR(DFL_FPGA_MAGIC, DFL_PORT_BASE + 7, __u32) +#define DFL_FPGA_PORT_UINT_GET_IRQ_NUM _IOR(DFL_FPGA_MAGIC, DFL_PORT_BASE + 7, __u32) /** * DFL_FPGA_PORT_UINT_SET_IRQ - _IOW(DFL_FPGA_MAGIC, DFL_PORT_BASE + 8, @@ -205,8 +202,7 @@ struct dfl_fpga_irq_set { * Unset related interrupt trigger if evtfds[n] is a negative value. * Return: 0 on success, -errno on failure. */ -#define DFL_FPGA_PORT_UINT_SET_IRQ \ - _IOW(DFL_FPGA_MAGIC, DFL_PORT_BASE + 8, struct dfl_fpga_irq_set) +#define DFL_FPGA_PORT_UINT_SET_IRQ _IOW(DFL_FPGA_MAGIC, DFL_PORT_BASE + 8, struct dfl_fpga_irq_set) /* IOCTLs for FME file descriptor */ @@ -259,8 +255,7 @@ struct dfl_fpga_fme_port_pr { * feature. Currently hardware supports up to 1 irq. * Return: 0 on success, -errno on failure. */ -#define DFL_FPGA_FME_ERR_GET_IRQ_NUM \ - _IOR(DFL_FPGA_MAGIC, DFL_FME_BASE + 3, __u32) +#define DFL_FPGA_FME_ERR_GET_IRQ_NUM _IOR(DFL_FPGA_MAGIC, DFL_FME_BASE + 3, __u32) /** * DFL_FPGA_FME_ERR_SET_IRQ - _IOW(DFL_FPGA_MAGIC, DFL_FME_BASE + 4, @@ -270,7 +265,6 @@ struct dfl_fpga_fme_port_pr { * Unset related interrupt trigger if evtfds[n] is a negative value. * Return: 0 on success, -errno on failure. */ -#define DFL_FPGA_FME_ERR_SET_IRQ \ - _IOW(DFL_FPGA_MAGIC, DFL_FME_BASE + 4, struct dfl_fpga_irq_set) +#define DFL_FPGA_FME_ERR_SET_IRQ _IOW(DFL_FPGA_MAGIC, DFL_FME_BASE + 4, struct dfl_fpga_irq_set) #endif /* _LINUX_FPGA_DFL_H */ -- cgit v1.2.3