|WARNING| pw116675 [v1 13/19] net/mlx5/hws: Add HWS context object

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Sep 22 21:08:34 CEST 2022


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/116675

_coding style issues_


WARNING:LONG_LINE_COMMENT: line length of 111 exceeds 100 columns
#141: FILE: drivers/net/mlx5/hws/mlx5dr_context.c:2:
+ * Copyright (c) Copyright (c) 2022 NVIDIA Corporation 2021 NVIDIA CORPORATION. All rights reserved. Affiliates

ERROR:SPACING: space prohibited before that ',' (ctx:WxV)
#165: FILE: drivers/net/mlx5/hws/mlx5dr_context.c:26:
+			DR_LOG(ERR, "Failed to allocate STC pool [%d]" ,i);
 			                                               ^

ERROR:SPACING: space required after that ',' (ctx:WxV)
#165: FILE: drivers/net/mlx5/hws/mlx5dr_context.c:26:
+			DR_LOG(ERR, "Failed to allocate STC pool [%d]" ,i);
 			                                               ^

ERROR:SPACING: space required before the open brace '{'
#244: FILE: drivers/net/mlx5/hws/mlx5dr_context.c:105:
+	if (!caps->wqe_based_update){

WARNING:LONG_LINE_COMMENT: line length of 111 exceeds 100 columns
#369: FILE: drivers/net/mlx5/hws/mlx5dr_context.h:2:
+ * Copyright (c) Copyright (c) 2022 NVIDIA Corporation 2021 NVIDIA CORPORATION. All rights reserved. Affiliates

total: 3 errors, 2 warnings, 0 checks, 262 lines checked


More information about the test-report mailing list