WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #24: new file mode 100644 WARNING: line length of 81 exceeds 80 columns #202: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_buddy.h:19: +void mlx5hws_buddy_free_mem(struct mlx5hws_buddy_mem *buddy, u32 seg, u32 order); WARNING: line length of 86 exceeds 80 columns #221: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pool.c:11: + mlx5hws_cmd_ste_destroy(resource->pool->ctx->mdev, resource->base_id); WARNING: line length of 86 exceeds 80 columns #224: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pool.c:14: + mlx5hws_cmd_stc_destroy(resource->pool->ctx->mdev, resource->base_id); WARNING: line length of 82 exceeds 80 columns #263: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pool.c:53: + ret = mlx5hws_cmd_ste_create(pool->ctx->mdev, &ste_attr, &obj_id); WARNING: line length of 82 exceeds 80 columns #268: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pool.c:58: + ret = mlx5hws_cmd_stc_create(pool->ctx->mdev, &stc_attr, &obj_id); WARNING: line length of 85 exceeds 80 columns #297: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pool.c:87: + opt_log_range = pool->opt_type == MLX5HWS_POOL_OPTIMIZE_ORIG ? 0 : log_range; WARNING: line length of 81 exceeds 80 columns #298: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pool.c:88: + resource = hws_pool_create_one_resource(pool, opt_log_range, fw_ft_type); WARNING: line length of 84 exceeds 80 columns #309: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pool.c:99: + fw_ft_type = mlx5hws_table_get_res_fw_ft_type(pool->tbl_type, true); WARNING: line length of 95 exceeds 80 columns #310: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pool.c:100: + opt_log_range = pool->opt_type == MLX5HWS_POOL_OPTIMIZE_MIRROR ? 0 : log_range; WARNING: line length of 96 exceeds 80 columns #311: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pool.c:101: + mirror_resource = hws_pool_create_one_resource(pool, opt_log_range, fw_ft_type); WARNING: line length of 84 exceeds 80 columns #344: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pool.c:134: + mlx5hws_err(pool->ctx, "No such buddy (%d)\n", chunk->resource_idx); WARNING: line length of 85 exceeds 80 columns #418: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pool.c:208: + /* We have new memory pool, should be place for us */ WARNING: line length of 86 exceeds 80 columns #469: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pool.c:259: + pool->db.buddy_manager = kzalloc(sizeof(*pool->db.buddy_manager), GFP_KERNEL); WARNING: line length of 85 exceeds 80 columns #476: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pool.c:266: + if (!hws_pool_buddy_get_next_buddy(pool, 0, log_range, &new_buddy)) { WARNING: line length of 98 exceeds 80 columns #478: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pool.c:268: + "Failed allocating memory on create log_sz: %d\n", log_range); WARNING: line length of 89 exceeds 80 columns #517: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pool.c:307: + /* Sharing the same resource, also means that all the elements are with size 1 */ WARNING: line length of 83 exceeds 80 columns #521: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pool.c:311: + elem->bitmap = hws_pool_create_and_init_bitmap(alloc_size - order); WARNING: line length of 82 exceeds 80 columns #549: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pool.c:339: +static int hws_pool_element_find_seg(struct mlx5hws_pool_elements *elem, int *seg) WARNING: line length of 94 exceeds 80 columns #579: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pool.c:369: + mlx5hws_err(pool->ctx, "No more resources (last request order: %d)\n", order); WARNING: line length of 84 exceeds 80 columns #588: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pool.c:378: + mlx5hws_err(pool->ctx, "Failed to allocate element for order: %d\n", order); WARNING: line length of 86 exceeds 80 columns #609: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pool.c:399: + mlx5hws_err(pool->ctx, "No more resources (last request order: %d)\n", order); WARNING: line length of 84 exceeds 80 columns #613: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pool.c:403: + mlx5hws_err(pool->ctx, "Failed to allocate element for order: %d\n", order); WARNING: line length of 82 exceeds 80 columns #618: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pool.c:408: + struct mlx5hws_pool_chunk *chunk) WARNING: line length of 83 exceeds 80 columns #634: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pool.c:424: + struct mlx5hws_pool_chunk *chunk) WARNING: line length of 86 exceeds 80 columns #637: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pool.c:427: + pr_warn("HWS: invalid resource with index %d\n", chunk->resource_idx); WARNING: line length of 86 exceeds 80 columns #665: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pool.c:455: + struct mlx5hws_pool_elements *elem, WARNING: line length of 84 exceeds 80 columns #666: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pool.c:456: + struct mlx5hws_pool_chunk *chunk) WARNING: line length of 86 exceeds 80 columns #669: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pool.c:459: + pr_warn("HWS: invalid resource with index %d\n", chunk->resource_idx); WARNING: line length of 86 exceeds 80 columns #682: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pool.c:472: + pr_warn("HWS: invalid resource with index %d\n", chunk->resource_idx); WARNING: line length of 86 exceeds 80 columns #686: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pool.c:476: + mlx5hws_err(pool->ctx, "No such element (%d)\n", chunk->resource_idx); WARNING: line length of 90 exceeds 80 columns #739: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pool.c:529: + pool->db.element_manager = kzalloc(sizeof(*pool->db.element_manager), GFP_KERNEL); WARNING: line length of 99 exceeds 80 columns #763: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pool.c:553: + mlx5hws_err(pool->ctx, "Failed to init general db : %d (ret: %d)\n", db_type, ret); WARNING: line length of 85 exceeds 80 columns #796: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pool.c:586: +mlx5hws_pool_create(struct mlx5hws_context *ctx, struct mlx5hws_pool_attr *pool_attr) WARNING: line length of 97 exceeds 80 columns #927: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pool.h:71: + /* Uses for allocating chunk of big memory, each element has its own resource in the FW*/ WARNING: line length of 84 exceeds 80 columns #973: FILE: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_pool.h:117: + struct mlx5hws_pool_resource *mirror_resource[MLX5HWS_POOL_RESOURCE_ARR_SZ]; total: 0 errors, 36 warnings, 0 checks, 961 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 0bc077e0c442 ("net/mlx5: HWS, added memory management handling") 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, 36 warnings, 0 checks, 961 lines checked