[dpdk-test-report] |WARNING| pw36828 [PATCH 12/14] net/qede/base:	fix to support OVLAN mode
    checkpatch at dpdk.org 
    checkpatch at dpdk.org
       
    Sun Apr  1 07:48:39 CEST 2018
    
    
  
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/36828
_coding style issues_
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'p_hwfn->ufp_info.pri_type == ECORE_UFP_PRI_OS'
#152: FILE: drivers/net/qede/base/ecore_sp_commands.c:363:
+		if ((p_hwfn->ufp_info.pri_type == ECORE_UFP_PRI_OS) ||
+		    (p_hwfn->p_dcbx_info->results.dcbx_enabled))
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'p_hwfn->p_dcbx_info->results.dcbx_enabled'
#152: FILE: drivers/net/qede/base/ecore_sp_commands.c:363:
+		if ((p_hwfn->ufp_info.pri_type == ECORE_UFP_PRI_OS) ||
+		    (p_hwfn->p_dcbx_info->results.dcbx_enabled))
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'p_hwfn->ufp_info.pri_type == ECORE_UFP_PRI_OS'
#169: FILE: drivers/net/qede/base/ecore_sp_commands.c:464:
+	if ((p_hwfn->ufp_info.pri_type == ECORE_UFP_PRI_OS) ||
+	    (p_hwfn->p_dcbx_info->results.dcbx_enabled))
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'p_hwfn->p_dcbx_info->results.dcbx_enabled'
#169: FILE: drivers/net/qede/base/ecore_sp_commands.c:464:
+	if ((p_hwfn->ufp_info.pri_type == ECORE_UFP_PRI_OS) ||
+	    (p_hwfn->p_dcbx_info->results.dcbx_enabled))
total: 0 errors, 0 warnings, 4 checks, 117 lines checked
    
    
More information about the test-report
mailing list