WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #46: new file mode 100644 WARNING: line length of 89 exceeds 80 columns #127: FILE: drivers/net/ethernet/mellanox/mlx5/core/lib/nv_param.c:77: + (MLX5_ST_SZ_BYTES(mnvda_reg) - MLX5_BYTE_OFF(mnvda_reg, configuration_item_data)) WARNING: line length of 99 exceeds 80 columns #131: FILE: drivers/net/ethernet/mellanox/mlx5/core/lib/nv_param.c:81: + configuration_item_header.type.configuration_item_type_class_##_cls_name._field, \ WARNING: line length of 81 exceeds 80 columns #141: FILE: drivers/net/ethernet/mellanox/mlx5/core/lib/nv_param.c:91: +static int mlx5_nv_param_read(struct mlx5_core_dev *dev, void *mnvda, size_t len) WARNING: line length of 86 exceeds 80 columns #151: FILE: drivers/net/ethernet/mellanox/mlx5/core/lib/nv_param.c:101: + err = mlx5_core_access_reg(dev, mnvda, len, mnvda, len, MLX5_REG_MNVDA, 0, 0); WARNING: line length of 100 exceeds 80 columns #156: FILE: drivers/net/ethernet/mellanox/mlx5/core/lib/nv_param.c:106: + configuration_item_header.type.configuration_item_type_class_global); WARNING: line length of 89 exceeds 80 columns #158: FILE: drivers/net/ethernet/mellanox/mlx5/core/lib/nv_param.c:108: + type_class = MLX5_GET(configuration_item_type_class_global, cls_ptr, type_class); WARNING: line length of 93 exceeds 80 columns #159: FILE: drivers/net/ethernet/mellanox/mlx5/core/lib/nv_param.c:109: + param_idx = MLX5_GET(configuration_item_type_class_global, cls_ptr, parameter_index); WARNING: line length of 85 exceeds 80 columns #165: FILE: drivers/net/ethernet/mellanox/mlx5/core/lib/nv_param.c:115: + /* Let devlink skip this one if it fails, kernel log will have the failure */ WARNING: line length of 82 exceeds 80 columns #169: FILE: drivers/net/ethernet/mellanox/mlx5/core/lib/nv_param.c:119: +static int mlx5_nv_param_write(struct mlx5_core_dev *dev, void *mnvda, size_t len) WARNING: line length of 87 exceeds 80 columns #177: FILE: drivers/net/ethernet/mellanox/mlx5/core/lib/nv_param.c:127: + return mlx5_core_access_reg(dev, mnvda, len, mnvda, len, MLX5_REG_MNVDA, 0, 1); WARNING: line length of 86 exceeds 80 columns #181: FILE: drivers/net/ethernet/mellanox/mlx5/core/lib/nv_param.c:131: +mlx5_nv_param_read_global_pci_conf(struct mlx5_core_dev *dev, void *mnvda, size_t len) WARNING: line length of 85 exceeds 80 columns #192: FILE: drivers/net/ethernet/mellanox/mlx5/core/lib/nv_param.c:142: +mlx5_nv_param_read_global_pci_cap(struct mlx5_core_dev *dev, void *mnvda, size_t len) WARNING: line length of 83 exceeds 80 columns #239: FILE: drivers/net/ethernet/mellanox/mlx5/core/lib/nv_param.c:189: + NL_SET_ERR_MSG_MOD(extack, "Failed to read global PCI capability"); WARNING: line length of 86 exceeds 80 columns #253: FILE: drivers/net/ethernet/mellanox/mlx5/core/lib/nv_param.c:203: + NL_SET_ERR_MSG_MOD(extack, "Unable to read global PCI configuration"); WARNING: line length of 87 exceeds 80 columns #263: FILE: drivers/net/ethernet/mellanox/mlx5/core/lib/nv_param.c:213: + NL_SET_ERR_MSG_MOD(extack, "Unable to write global PCI configuration"); WARNING: line length of 82 exceeds 80 columns #279: FILE: drivers/net/ethernet/mellanox/mlx5/core/lib/nv_param.c:229: + ARRAY_SIZE(mlx5_shd_nv_param_devlink_params)); total: 0 errors, 17 warnings, 0 checks, 321 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 2430ff3e439c ("net/mlx5: Introduce enable_sriov param for shared devlink") 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, 17 warnings, 0 checks, 321 lines checked