[dpdk-test-report] |WARNING| pw97947 [PATCH 4/5] compress/mlx5: refactor queue HW object

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Sep 3 16:24:01 CEST 2021


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

_coding style issues_


ERROR:TRAILING_WHITESPACE: trailing whitespace
#155: FILE: drivers/compress/mlx5/mlx5_compress.c:57:
+^Iuint32_t mmo_dma_qp:1; $

ERROR:SPACING: space required before the open parenthesis '('
#239: FILE: drivers/compress/mlx5/mlx5_compress.c:260:
+	if(ret) {

WARNING:BRACES: braces {} are not necessary for single statement blocks
#239: FILE: drivers/compress/mlx5/mlx5_compress.c:260:
+	if(ret) {
 		goto err;
 	}

ERROR:TRAILING_WHITESPACE: trailing whitespace
#284: FILE: drivers/compress/mlx5/mlx5_compress.c:821:
+^I    ^Iatt.mmo_dma_sq_en == 0) && (att.mmo_compress_qp_en == 0 || $

ERROR:CODE_INDENT: code indent should use tabs where possible
#284: FILE: drivers/compress/mlx5/mlx5_compress.c:821:
+^I    ^Iatt.mmo_dma_sq_en == 0) && (att.mmo_compress_qp_en == 0 || $

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#284: FILE: drivers/compress/mlx5/mlx5_compress.c:821:
+^I    ^Iatt.mmo_dma_sq_en == 0) && (att.mmo_compress_qp_en == 0 || $

total: 4 errors, 2 warnings, 159 lines checked


More information about the test-report mailing list