[dpdk-test-report] |WARNING| pw53788 [PATCH v2 03/11]	net/hinic/base: add mgmt module interactive code
    checkpatch at dpdk.org 
    checkpatch at dpdk.org
       
    Wed May 29 05:38:58 CEST 2019
    
    
  
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/53788
_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
#82: FILE: drivers/net/hinic/base/hinic_pmd_hw_mgmt.h:43:
+	bool lro_en;    /* LRO feature enable bit */
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'pf_to_mgmt' - possible side-effects?
#163: FILE: drivers/net/hinic/base/hinic_pmd_mgmt.c:33:
+#define SYNC_MSG_ID_INC(pf_to_mgmt)	(SYNC_MSG_ID(pf_to_mgmt) = \
+			(SYNC_MSG_ID(pf_to_mgmt) + 1) & SYNC_MSG_ID_MASK)
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'pf_to_mgmt' - possible side-effects?
#168: FILE: drivers/net/hinic/base/hinic_pmd_mgmt.c:38:
+#define ASYNC_MSG_ID_INC(pf_to_mgmt)	(ASYNC_MSG_ID(pf_to_mgmt) = \
+			((ASYNC_MSG_ID(pf_to_mgmt) + 1) & ASYNC_MSG_ID_MASK) \
+			| ASYNC_MSG_FLAG)
total: 0 errors, 0 warnings, 3 checks, 1332 lines checked
    
    
More information about the test-report
mailing list