[dpdk-test-report] [Patchwork]|ERROR| pw16871 net/qede: fix advertising link speed capability

sys_stv at intel.com sys_stv at intel.com
Sat Oct 29 08:31:12 CEST 2016


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

Patchwork ID: 16871
http://www.dpdk.org/dev/patchwork/patch/16871/
Submitter: "Mody, Rasesh" <Rasesh.Mody at cavium.com>
Date: Fri, 28 Oct 2016 23:14:37 -0700
DPDK git baseline: ca41215c051a1f4f6f96e947ccb671dab3509cbf

Check patch error:
16871: 
ERROR: switch and case should be at the same indent
#97: FILE: drivers/net/qede/qede_main.c:520:
+	switch (params.speed.advertised_speeds) {
+		case NVM_CFG1_PORT_DRV_SPEED_CAPABILITY_MASK_10G:
[...]
+		case NVM_CFG1_PORT_DRV_SPEED_CAPABILITY_MASK_25G:
[...]
+		case NVM_CFG1_PORT_DRV_SPEED_CAPABILITY_MASK_40G:
[...]
+		case NVM_CFG1_PORT_DRV_SPEED_CAPABILITY_MASK_50G:
[...]
+		case NVM_CFG1_PORT_DRV_SPEED_CAPABILITY_MASK_BB_100G:
[...]
+		default:

total: 1 errors, 0 warnings, 68 lines checked

/home/patchWorkOrg/patches/dpdk-dev-v2-net-qede-fix-advertising-link-speed-capability.patch has style problems, please review.

If any of these errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.


Compilation:
OS: fedora
Nic: niantic
GCC: gcc_x86-64, 4.8.3
ICC:16.0.2
i686-native-linuxapp-icc: compile pass
x86_64-native-linuxapp-gcc-combined: compile pass
i686-native-linuxapp-gcc: compile pass
x86_64-native-linuxapp-gcc: compile pass
x86_64-native-linuxapp-icc: compile pass
x86_64-native-linuxapp-gcc-debug: compile pass
x86_64-native-linuxapp-gcc-shared: compile pass
x86_64-native-linuxapp-clang: compile pass



DPDK STV team 


More information about the test-report mailing list