|WARNING| pw116678 [v1 15/19] net/mlx5/hws: Add HWS matcher object
checkpatch at dpdk.org
checkpatch at dpdk.org
Thu Sep 22 21:08:27 CEST 2022
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/116678
_coding style issues_
WARNING:TYPO_SPELLING: 'efficent' may be misspelled - perhaps 'efficient'?
#126:
and from there to other objects. The matcher allows efficent
WARNING:LONG_LINE_COMMENT: line length of 111 exceeds 100 columns
#145: FILE: drivers/net/mlx5/hws/mlx5dr_matcher.c:2:
+ * Copyright (c) Copyright (c) 2022 NVIDIA Corporation 2021 NVIDIA CORPORATION. All rights reserved. Affiliates
WARNING:LONG_LINE: line length of 107 exceeds 100 columns
#390: FILE: drivers/net/mlx5/hws/mlx5dr_matcher.c:247:
+ devx_obj = mlx5dr_pool_chunk_get_base_devx_obj_mirror(stc_pool, &default_stc->default_hit);
CHECK:SPACING: spaces preferred around that '-' (ctx:VxV)
#567: FILE: drivers/net/mlx5/hws/mlx5dr_matcher.c:424:
+ matcher->mt[i-1]->definer);
^
WARNING:TYPO_SPELLING: 'destory' may be misspelled - perhaps 'destroy'?
#787: FILE: drivers/net/mlx5/hws/mlx5dr_matcher.c:644:
+ goto destory_and_disconnect;
WARNING:TYPO_SPELLING: 'destory' may be misspelled - perhaps 'destroy'?
#793: FILE: drivers/net/mlx5/hws/mlx5dr_matcher.c:650:
+destory_and_disconnect:
ERROR:CODE_INDENT: code indent should use tabs where possible
#1014: FILE: drivers/net/mlx5/hws/mlx5dr_matcher.c:871:
+ rte_errno = EINVAL;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1014: FILE: drivers/net/mlx5/hws/mlx5dr_matcher.c:871:
+ rte_errno = EINVAL;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#1015: FILE: drivers/net/mlx5/hws/mlx5dr_matcher.c:872:
+ return NULL;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1015: FILE: drivers/net/mlx5/hws/mlx5dr_matcher.c:872:
+ return NULL;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#1021: FILE: drivers/net/mlx5/hws/mlx5dr_matcher.c:878:
+ rte_errno = ENOMEM;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1021: FILE: drivers/net/mlx5/hws/mlx5dr_matcher.c:878:
+ rte_errno = ENOMEM;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#1022: FILE: drivers/net/mlx5/hws/mlx5dr_matcher.c:879:
+ return NULL;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1022: FILE: drivers/net/mlx5/hws/mlx5dr_matcher.c:879:
+ return NULL;$
WARNING:LONG_LINE_COMMENT: line length of 111 exceeds 100 columns
#1071: FILE: drivers/net/mlx5/hws/mlx5dr_matcher.h:2:
+ * Copyright (c) Copyright (c) 2022 NVIDIA Corporation 2021 NVIDIA CORPORATION. All rights reserved. Affiliates
total: 4 errors, 10 warnings, 1 checks, 996 lines checked
More information about the test-report
mailing list