[dpdk-test-report] |WARNING| pw54166 [PATCH v3 04/11] net/hinic/base: add code about hardware operation

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Jun 3 13:28:29 CEST 2019


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

_coding style issues_


CHECK:BOOL_MEMBER: Avoid using bool structure members because of possible alignment issues - see: https://lkml.org/lkml/2017/11/21/384
#348: FILE: drivers/net/hinic/base/hinic_pmd_cfg.h:28:
+	bool ft_en;     /* business enable flag (not include RDMA) */

CHECK:BOOL_MEMBER: Avoid using bool structure members because of possible alignment issues - see: https://lkml.org/lkml/2017/11/21/384
#349: FILE: drivers/net/hinic/base/hinic_pmd_cfg.h:29:
+	bool ft_pf_en;  /* In FPGA Test VF resource is in PF or not,

CHECK:BOOL_MEMBER: Avoid using bool structure members because of possible alignment issues - see: https://lkml.org/lkml/2017/11/21/384
#353: FILE: drivers/net/hinic/base/hinic_pmd_cfg.h:33:
+	bool rdma_en;

CHECK:BOOL_MEMBER: Avoid using bool structure members because of possible alignment issues - see: https://lkml.org/lkml/2017/11/21/384
#354: FILE: drivers/net/hinic/base/hinic_pmd_cfg.h:34:
+	bool rdma_pf_en; /* In FPGA Test VF RDMA resource is in PF or not,

CHECK:BOOL_MEMBER: Avoid using bool structure members because of possible alignment issues - see: https://lkml.org/lkml/2017/11/21/384
#378: FILE: drivers/net/hinic/base/hinic_pmd_cfg.h:58:
+	bool sf_en;	/* stateful business status */

total: 0 errors, 0 warnings, 5 checks, 2963 lines checked


More information about the test-report mailing list