|WARNING| pw162558 [PATCH] freebsd/contigmem: support mem sizes in MB
checkpatch at dpdk.org
checkpatch at dpdk.org
Fri Mar 20 18:00:32 CET 2026
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/162558
_coding style issues_
ERROR:INITIALISED_STATIC: do not initialise statics to 0
#147: FILE: kernel/freebsd/contigmem/contigmem.c:53:
+static int64_t contigmem_buffer_size = 0; /* 0 = not set; resolved in contigmem_load() */
ERROR:INITIALISED_STATIC: do not initialise statics to 0
#148: FILE: kernel/freebsd/contigmem/contigmem.c:54:
+static int64_t contigmem_buffer_size_MB = 0; /* 0 = not set; alternative to buffer_size */
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#179: FILE: kernel/freebsd/contigmem/contigmem.c:132:
+ return EINVAL;
total: 2 errors, 1 warnings, 105 lines checked
More information about the test-report
mailing list