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/misc/xilinx_sdfec.h | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'include/arch/x86_64/misc/xilinx_sdfec.h') diff --git a/include/arch/x86_64/misc/xilinx_sdfec.h b/include/arch/x86_64/misc/xilinx_sdfec.h index fab151e1..e480f2ee 100644 --- a/include/arch/x86_64/misc/xilinx_sdfec.h +++ b/include/arch/x86_64/misc/xilinx_sdfec.h @@ -22,12 +22,9 @@ #define XSDFEC_LDPC_QC_TABLE_ADDR_HIGH (0x28000) /* LDPC tables depth */ -#define XSDFEC_SC_TABLE_DEPTH \ - (XSDFEC_LDPC_SC_TABLE_ADDR_HIGH - XSDFEC_LDPC_SC_TABLE_ADDR_BASE) -#define XSDFEC_LA_TABLE_DEPTH \ - (XSDFEC_LDPC_LA_TABLE_ADDR_HIGH - XSDFEC_LDPC_LA_TABLE_ADDR_BASE) -#define XSDFEC_QC_TABLE_DEPTH \ - (XSDFEC_LDPC_QC_TABLE_ADDR_HIGH - XSDFEC_LDPC_QC_TABLE_ADDR_BASE) +#define XSDFEC_SC_TABLE_DEPTH (XSDFEC_LDPC_SC_TABLE_ADDR_HIGH - XSDFEC_LDPC_SC_TABLE_ADDR_BASE) +#define XSDFEC_LA_TABLE_DEPTH (XSDFEC_LDPC_LA_TABLE_ADDR_HIGH - XSDFEC_LDPC_LA_TABLE_ADDR_BASE) +#define XSDFEC_QC_TABLE_DEPTH (XSDFEC_LDPC_QC_TABLE_ADDR_HIGH - XSDFEC_LDPC_QC_TABLE_ADDR_BASE) /** * enum xsdfec_code - Code Type. @@ -339,8 +336,7 @@ struct xsdfec_ldpc_param_table_sizes { * * - SD-FEC Code Write Protection is disabled */ -#define XSDFEC_ADD_LDPC_CODE_PARAMS \ - _IOW(XSDFEC_MAGIC, 5, struct xsdfec_ldpc_params) +#define XSDFEC_ADD_LDPC_CODE_PARAMS _IOW(XSDFEC_MAGIC, 5, struct xsdfec_ldpc_params) /** * DOC: XSDFEC_GET_CONFIG * @Parameters -- cgit v1.2.3