[dpdk-test-report] |WARNING| pw51998 [PATCH v2] kni: add IOVA va	support for kni
    checkpatch at dpdk.org 
    checkpatch at dpdk.org
       
    Mon Apr  1 20:31:54 CEST 2019
    
    
  
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/51998
_coding style issues_
WARNING:OOM_MESSAGE: Possible unnecessary 'out of memory' message
#197: FILE: kernel/linux/kni/kni_misc.c:268:
+	if (!mem->pgs) {
+		pr_err("%s: -ENOMEM
", __func__);
ERROR:SPACING: space required after that ',' (ctx:VxV)
#204: FILE: kernel/linux/kni/kni_misc.c:275:
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,9,0)
                                           ^
ERROR:SPACING: space required after that ',' (ctx:VxV)
#204: FILE: kernel/linux/kni/kni_misc.c:275:
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,9,0)
                                             ^
WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#204: FILE: kernel/linux/kni/kni_misc.c:275:
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,9,0)
total: 2 errors, 2 warnings, 496 lines checked
    
    
More information about the test-report
mailing list