From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 76E5C1B1F5; Thu, 28 Sep 2017 10:15:18 +0200 (CEST) In-Reply-To: <1506586406-127542-6-git-send-email-beilei.xing@intel.com> References: <1506586406-127542-6-git-send-email-beilei.xing@intel.com> To: test-report@dpdk.org Cc: Beilei Xing Message-Id: <20170928081518.76E5C1B1F5@dpdk.org> Date: Thu, 28 Sep 2017 10:15:18 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw29227 [PATCH v5 5/8] net/i40e: finish integration FDIR with generic flow API X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Sep 2017 08:15:18 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/29227 _coding style issues_ CHECK:CAMELCASE: Avoid CamelCase: #225: FILE: drivers/net/i40e/i40e_fdir.c:989: + *ether_type = rte_cpu_to_be_16(ETHER_TYPE_IPv4); CHECK:CAMELCASE: Avoid CamelCase: #252: FILE: drivers/net/i40e/i40e_fdir.c:1016: + *ether_type = rte_cpu_to_be_16(ETHER_TYPE_IPv6); CHECK:CAMELCASE: Avoid CamelCase: #254: FILE: drivers/net/i40e/i40e_fdir.c:1018: + rte_cpu_to_be_32(I40E_FDIR_IPv6_DEFAULT_VTC_FLOW | CHECK:CAMELCASE: Avoid CamelCase: #256: FILE: drivers/net/i40e/i40e_fdir.c:1020: + I40E_FDIR_IPv6_TC_OFFSET)); CHECK:CAMELCASE: Avoid CamelCase: #258: FILE: drivers/net/i40e/i40e_fdir.c:1022: + rte_cpu_to_be_16(I40E_FDIR_IPv6_PAYLOAD_LEN); CHECK:CAMELCASE: Avoid CamelCase: #264: FILE: drivers/net/i40e/i40e_fdir.c:1028: + I40E_FDIR_IPv6_DEFAULT_HOP_LIMITS; CHECK:BRACES: braces {} should be used on all arms of this statement #499: FILE: drivers/net/i40e/i40e_fdir.c:1384: + if (hw->mac.type == I40E_MAC_X722) { [...] + } else [...] CHECK:BRACES: Unbalanced braces around else statement #505: FILE: drivers/net/i40e/i40e_fdir.c:1390: + } else CHECK:BRACES: braces {} should be used on all arms of this statement #649: FILE: drivers/net/i40e/i40e_fdir.c:1689: + if (fdir_action->behavior == I40E_FDIR_REJECT) [...] + else if (fdir_action->behavior == I40E_FDIR_ACCEPT) [...] + else if (fdir_action->behavior == I40E_FDIR_PASSTHRU) [...] + else { [...] CHECK:BRACES: Unbalanced braces around else statement #655: FILE: drivers/net/i40e/i40e_fdir.c:1695: + else { total: 0 errors, 0 warnings, 10 checks, 884 lines checked