CHECK: Macro argument 'mdev' may be better as '(mdev)' to avoid precedence issues #66: FILE: include/linux/mlx5/device.h:1388: +#define MLX5_CAP_ADV_RDMA(mdev, cap) \ + MLX5_GET(adv_rdma_cap, \ + mdev->caps.hca[MLX5_CAP_ADV_RDMA]->cur, cap) WARNING: line length of 92 exceeds 80 columns #115: FILE: include/linux/mlx5/mlx5_ifc.h:13104: + struct mlx5_ifc_flow_table_prop_layout_bits rdma_transport_rx_flow_table_properties; WARNING: line length of 92 exceeds 80 columns #117: FILE: include/linux/mlx5/mlx5_ifc.h:13106: + struct mlx5_ifc_flow_table_prop_layout_bits rdma_transport_tx_flow_table_properties; WARNING: line length of 96 exceeds 80 columns #119: FILE: include/linux/mlx5/mlx5_ifc.h:13108: + struct mlx5_ifc_flow_table_fields_supported_2_bits rdma_transport_rx_ft_field_support_2; WARNING: line length of 96 exceeds 80 columns #121: FILE: include/linux/mlx5/mlx5_ifc.h:13110: + struct mlx5_ifc_flow_table_fields_supported_2_bits rdma_transport_tx_ft_field_support_2; WARNING: line length of 104 exceeds 80 columns #123: FILE: include/linux/mlx5/mlx5_ifc.h:13112: + struct mlx5_ifc_flow_table_fields_supported_2_bits rdma_transport_rx_ft_field_bitmask_support_2; WARNING: line length of 104 exceeds 80 columns #125: FILE: include/linux/mlx5/mlx5_ifc.h:13114: + struct mlx5_ifc_flow_table_fields_supported_2_bits rdma_transport_tx_ft_field_bitmask_support_2; total: 0 errors, 6 warnings, 1 checks, 91 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. Commit 60d9db0e65a4 ("net/mlx5: Query ADV_RDMA capabilities") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. total: 0 errors, 6 warnings, 1 checks, 91 lines checked