|WARNING| pw135613 [PATCH 5/8] net/mlx5/hws: support NAT64 action
checkpatch at dpdk.org
checkpatch at dpdk.org
Wed Dec 27 10:09:14 CET 2023
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/135613
_coding style issues_
WARNING:TYPO_SPELLING: 'attiribute' may be misspelled - perhaps 'attribute'?
#171: FILE: drivers/net/mlx5/hws/mlx5dr.h:818:
+ * The relevant attiribute of the NAT action.
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#171: FILE: drivers/net/mlx5/hws/mlx5dr.h:818:
+ * ^IThe relevant attiribute of the NAT action.$
WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#172: FILE: drivers/net/mlx5/hws/mlx5dr.h:819:
+ * The relevant attiribute of the NAT action.
+ * @param[in] flags
WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#173: FILE: drivers/net/mlx5/hws/mlx5dr.h:820:
+ * @param[in] flags
+ * Action creation flags. (enum mlx5dr_action_flags)
CHECK:SPACING: No space is necessary after a cast
#246: FILE: drivers/net/mlx5/hws/mlx5dr_action.c:282:
+ action_ptr = (uint8_t *) modify_action_data;
CHECK:SPACING: No space is necessary after a cast
#309: FILE: drivers/net/mlx5/hws/mlx5dr_action.c:345:
+ pat[0].sz = (action_ptr - (uint8_t *) modify_action_data);
CHECK:SPACING: No space is necessary after a cast
#356: FILE: drivers/net/mlx5/hws/mlx5dr_action.c:392:
+ action_ptr = (uint8_t *) modify_action_data;
CHECK:SPACING: No space is necessary after a cast
#396: FILE: drivers/net/mlx5/hws/mlx5dr_action.c:432:
+ pat[0].sz = action_ptr - (uint8_t *) modify_action_data;
CHECK:BRACES: Blank lines aren't necessary before a close brace '}'
#441: FILE: drivers/net/mlx5/hws/mlx5dr_action.c:477:
+
+ }
CHECK:SPACING: No space is necessary after a cast
#444: FILE: drivers/net/mlx5/hws/mlx5dr_action.c:480:
+ action_ptr = (uint8_t *) modify_action_data;
CHECK:SPACING: No space is necessary after a cast
#509: FILE: drivers/net/mlx5/hws/mlx5dr_action.c:545:
+ pat[0].sz = action_ptr - (uint8_t *) modify_action_data;
total: 0 errors, 4 warnings, 7 checks, 598 lines checked
More information about the test-report
mailing list