[dpdk-test-report] [PatchWork]|ERROR| pw14114-14138 drivers: fix PCI class id support

sys_stv at intel.com sys_stv at intel.com
Wed Jun 22 07:47:42 CEST 2016


Test-Label: Intel Niantic on Fedora
Test-Status: ERROR

Patchwork ID: 14114-14138
http://www.dpdk.org/dev/patchwork/patch/14138/
Submitter: =?utf-8?q?N=C3=A9lio_Laranjeiro?= <nelio.laranjeiro at 6wind.com>
Date: Tue, 21 Jun 2016 09:23:14 +0200
DPDK git baseline: 9fa91cd0f78c79a67d802df9e3b42513feef48af

Check patch error:
14128: 
f any of these errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be -ve (return -EINVAL)
#118: FILE: drivers/net/mlx5/mlx5.c:274:
+               return EINVAL;

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#219: FILE: drivers/net/mlx5/mlx5_rxtx.c:92:
+               if (!ret || !(ret = ((*buf)[i] == magic[i])))

WARNING:INDENTED_LABEL: labels should not be indented
#521: FILE: drivers/net/mlx5/mlx5_rxtx.c:789:
+       skip:

total: 1 errors, 2 warnings, 460 lines checked

NOTE: Ignored message types: COMPARISON_TO_NULL FILE_PATH_CHANGES LINE_SPACING LINUX_VERSION_CODE NETWORKING_BLOCK_COMMENT_STYLE PARENTHESIS_ALIGNMENT PREFER_ALIGNED PREFER_KERNEL_TYPES PREFER_PACKED PREFER_PRINTF SPLIT_STRING VOLATILE

14128 has style problems, please review.


patch file error:
14127: 
patching file drivers/net/mlx5/Makefile
Hunk #1 succeeded at 105 (offset -1 lines).
patching file drivers/net/mlx5/mlx5_ethdev.c can't find file to patch at input line 71 Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/drivers/net/mlx5/mlx5_mr.c b/drivers/net/mlx5/mlx5_mr.c 
|index 79d5568..e5e8a04 100644
|--- a/drivers/net/mlx5/mlx5_mr.c
|+++ b/drivers/net/mlx5/mlx5_mr.c
--------------------------
File to patch: 
Skip this patch? [y]
Skipping patch.
2 out of 2 hunks ignored
patching file drivers/net/mlx5/mlx5_rxtx.c Hunk #1 succeeded at 119 with fuzz 1.
Hunk #2 FAILED at 215.
Hunk #3 succeeded at 413 (offset 187 lines).
Hunk #4 succeeded at 562 (offset 187 lines).
Hunk #5 succeeded at 590 (offset 187 lines).
Hunk #6 succeeded at 644 (offset 187 lines).
1 out of 6 hunks FAILED -- saving rejects to file drivers/net/mlx5/mlx5_rxtx.c.rej patching file drivers/net/mlx5/mlx5_rxtx.h patching file drivers/net/mlx5/mlx5_txq.c

14128: 
patching file doc/guides/nics/mlx5.rst
Hunk #1 succeeded at 175 (offset 27 lines).
patching file drivers/net/mlx5/mlx5.c
Hunk #1 succeeded at 67 (offset -2 lines).
Hunk #2 FAILED at 259.
Hunk #3 FAILED at 282.
Hunk #4 FAILED at 477.
3 out of 4 hunks FAILED -- saving rejects to file drivers/net/mlx5/mlx5.c.rej patching file drivers/net/mlx5/mlx5.h Hunk #1 succeeded at 106 (offset -5 lines).
patching file drivers/net/mlx5/mlx5_rxq.c Hunk #1 FAILED at 897.
Hunk #2 succeeded at 1159 with fuzz 2 (offset 204 lines).
Hunk #3 FAILED at 995.
2 out of 3 hunks FAILED -- saving rejects to file drivers/net/mlx5/mlx5_rxq.c.rej patching file drivers/net/mlx5/mlx5_rxtx.c Hunk #1 FAILED at 69.
Hunk #2 succeeded at 82 (offset -43 lines).
Hunk #3 succeeded at 930 (offset 409 lines).
Hunk #4 FAILED at 659.
Hunk #5 FAILED at 700.
Hunk #6 FAILED at 721.
Hunk #7 FAILED at 756.
5 out of 7 hunks FAILED -- saving rejects to file drivers/net/mlx5/mlx5_rxtx.c.rej patching file drivers/net/mlx5/mlx5_rxtx.h Hunk #1 succeeded at 101 with fuzz 1 (offset 10 lines).
Hunk #2 FAILED at 109.
1 out of 2 hunks FAILED -- saving rejects to file drivers/net/mlx5/mlx5_rxtx.h.rej patching file drivers/net/mlx5/mlx5_txq.c Hunk #1 succeeded at 329 with fuzz 2 (offset 61 lines).

14129: 
patching file drivers/net/mlx5/mlx5_defs.h patching file drivers/net/mlx5/mlx5_rxtx.c Hunk #1 succeeded at 70 (offset -84 lines).
Hunk #2 FAILED at 167.
Hunk #3 FAILED at 188.
Hunk #4 FAILED at 211.
Hunk #5 FAILED at 432.
Hunk #6 FAILED at 481.
Hunk #7 succeeded at 771 (offset 266 lines).
5 out of 7 hunks FAILED -- saving rejects to file drivers/net/mlx5/mlx5_rxtx.c.rej patching file drivers/net/mlx5/mlx5_rxtx.h Hunk #1 FAILED at 238.
Hunk #2 FAILED at 247.
Hunk #3 FAILED at 259.
3 out of 3 hunks FAILED -- saving rejects to file drivers/net/mlx5/mlx5_rxtx.h.rej patching file drivers/net/mlx5/mlx5_txq.c Hunk #1 FAILED at 89.
Hunk #2 FAILED at 108.
Hunk #3 FAILED at 274.
Hunk #4 FAILED at 300.
Hunk #5 FAILED at 452.
5 out of 5 hunks FAILED -- saving rejects to file drivers/net/mlx5/mlx5_txq.c.rej

14130: 
patching file doc/guides/nics/mlx5.rst
Hunk #1 succeeded at 175 with fuzz 2 (offset 21 lines).
patching file drivers/net/mlx5/mlx5.c
Hunk #1 succeeded at 67 with fuzz 2 (offset -5 lines).
Hunk #2 FAILED at 276.
Hunk #3 FAILED at 299.
2 out of 3 hunks FAILED -- saving rejects to file drivers/net/mlx5/mlx5.c.rej patching file drivers/net/mlx5/mlx5.h Hunk #1 succeeded at 107 with fuzz 2 (offset -6 lines).
patching file drivers/net/mlx5/mlx5_ethdev.c Hunk #1 FAILED at 1317.
1 out of 1 hunk FAILED -- saving rejects to file drivers/net/mlx5/mlx5_ethdev.c.rej
patching file drivers/net/mlx5/mlx5_rxtx.c Hunk #1 FAILED at 374.
Hunk #2 succeeded at 563 with fuzz 1 (offset 148 lines).
Hunk #3 succeeded at 817 with fuzz 1 (offset 275 lines).
1 out of 3 hunks FAILED -- saving rejects to file drivers/net/mlx5/mlx5_rxtx.c.rej patching file drivers/net/mlx5/mlx5_rxtx.h Hunk #1 FAILED at 246.
Hunk #2 FAILED at 310.
2 out of 2 hunks FAILED -- saving rejects to file drivers/net/mlx5/mlx5_rxtx.h.rej patching file drivers/net/mlx5/mlx5_txq.c Hunk #1 succeeded at 349 (offset 17 lines).

14131: 
patching file doc/guides/nics/mlx5.rst
Hunk #1 succeeded at 192 (offset 21 lines).
patching file drivers/net/mlx5/mlx5.c
Hunk #1 succeeded at 74 (offset -5 lines).
Hunk #2 FAILED at 283.
Hunk #3 FAILED at 308.
Hunk #4 FAILED at 502.
Hunk #5 succeeded at 477 (offset -73 lines).
3 out of 5 hunks FAILED -- saving rejects to file drivers/net/mlx5/mlx5.c.rej patching file drivers/net/mlx5/mlx5_ethdev.c Hunk #2 FAILED at 1318.
1 out of 2 hunks FAILED -- saving rejects to file drivers/net/mlx5/mlx5_ethdev.c.rej
patching file drivers/net/mlx5/mlx5_rxtx.c Hunk #1 succeeded at 931 with fuzz 1 (offset 135 lines).
patching file drivers/net/mlx5/mlx5_rxtx.h Hunk #1 FAILED at 312.
1 out of 1 hunk FAILED -- saving rejects to file drivers/net/mlx5/mlx5_rxtx.h.rej patching file drivers/net/mlx5/mlx5_txq.c Hunk #1 succeeded at 421 with fuzz 1 (offset 23 lines).

14133: 
patching file drivers/net/mlx5/mlx5_rxtx.c Hunk #1 FAILED at 583.
Hunk #2 FAILED at 649.
Hunk #3 FAILED at 693.
Hunk #4 FAILED at 745.
Hunk #5 FAILED at 766.
Hunk #6 succeeded at 876 (offset -3 lines).
Hunk #7 succeeded at 894 (offset -3 lines).
Hunk #8 succeeded at 942 (offset -3 lines).
Hunk #9 succeeded at 1048 (offset -3 lines).
Hunk #10 succeeded at 1056 (offset -3 lines).
Hunk #11 succeeded at 1067 (offset -3 lines).
Hunk #12 succeeded at 1167 (offset -3 lines).
5 out of 12 hunks FAILED -- saving rejects to file drivers/net/mlx5/mlx5_rxtx.c.rej

14134: 
patching file drivers/net/mlx5/mlx5_rxtx.c Hunk #1 FAILED at 591.
Hunk #2 FAILED at 733.
2 out of 2 hunks FAILED -- saving rejects to file drivers/net/mlx5/mlx5_rxtx.c.rej

14135: 
patching file drivers/net/mlx5/mlx5_rxq.c Hunk #1 FAILED at 798.
Hunk #2 FAILED at 811.
2 out of 2 hunks FAILED -- saving rejects to file drivers/net/mlx5/mlx5_rxq.c.rej

14136: 
patching file drivers/net/mlx5/mlx5_rxq.c Hunk #1 FAILED at 642.
Hunk #2 succeeded at 807 with fuzz 2 (offset 153 lines).
Hunk #3 succeeded at 950 (offset 168 lines).
Hunk #4 FAILED at 799.
Hunk #5 FAILED at 869.
Hunk #6 FAILED at 898.
Hunk #7 FAILED at 948.
Hunk #8 FAILED at 1104.
Hunk #9 FAILED at 1119.
Hunk #10 succeeded at 1395 with fuzz 1 (offset 267 lines).
7 out of 10 hunks FAILED -- saving rejects to file drivers/net/mlx5/mlx5_rxq.c.rej

14137: 
patching file drivers/net/mlx5/mlx5_ethdev.c Hunk #3 FAILED at 748.
1 out of 3 hunks FAILED -- saving rejects to file drivers/net/mlx5/mlx5_ethdev.c.rej
patching file drivers/net/mlx5/mlx5_rxq.c Hunk #1 FAILED at 644.
Hunk #2 FAILED at 672.
Hunk #3 FAILED at 685.
Hunk #4 FAILED at 804.
Hunk #5 FAILED at 837.
Hunk #6 FAILED at 933.
Hunk #7 FAILED at 943.
Hunk #8 FAILED at 993.
Hunk #9 succeeded at 1307 with fuzz 2 (offset 258 lines).
Hunk #10 FAILED at 1128.
9 out of 10 hunks FAILED -- saving rejects to file drivers/net/mlx5/mlx5_rxq.c.rej patching file drivers/net/mlx5/mlx5_rxtx.c Hunk #1 FAILED at 1520.
1 out of 1 hunk FAILED -- saving rejects to file drivers/net/mlx5/mlx5_rxtx.c.rej patching file drivers/net/mlx5/mlx5_rxtx.h Hunk #1 FAILED at 106.
1 out of 1 hunk FAILED -- saving rejects to file drivers/net/mlx5/mlx5_rxtx.h.rej

14138: 
patching file drivers/net/mlx5/mlx5_rxtx.c Hunk #1 FAILED at 301.
Hunk #2 FAILED at 346.
Hunk #3 FAILED at 423.
Hunk #4 FAILED at 496.
Hunk #5 FAILED at 584.
Hunk #6 FAILED at 600.
Hunk #7 FAILED at 634.
Hunk #8 FAILED at 643.
Hunk #9 FAILED at 654.
Hunk #10 FAILED at 693.
Hunk #11 FAILED at 710.
Hunk #12 FAILED at 746.
Hunk #13 FAILED at 762.
Hunk #14 FAILED at 774.
Hunk #15 FAILED at 878.
Hunk #16 FAILED at 896.
Hunk #17 FAILED at 949.
Hunk #18 FAILED at 1050.
Hunk #19 FAILED at 1069.
Hunk #20 FAILED at 1106.
Hunk #21 FAILED at 1114.
Hunk #22 FAILED at 1132.
Hunk #23 FAILED at 1156.
Hunk #24 FAILED at 1174.
24 out of 24 hunks FAILED -- saving rejects to file drivers/net/mlx5/mlx5_rxtx.c.rej patching file drivers/net/mlx5/mlx5_txq.c Hunk #1 FAILED at 320.
1 out of 1 hunk FAILED -- saving rejects to file drivers/net/mlx5/mlx5_txq.c.rej

DPDK STV team 


More information about the test-report mailing list