[dpdk-test-report] |WARNING| pw95546 [PATCH] eal: allow hugetlbfs sub-directories
checkpatch at dpdk.org
checkpatch at dpdk.org
Thu Jul 8 11:39:42 CEST 2021
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/95546
_coding style issues_
WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#48:
get_hugepage_dir() was implemented in such a way that a --huge-dir option had to
WARNING:BRACES: braces {} are not necessary for single statement blocks
#87: FILE: lib/eal/linux/eal_hugepage_info.c:237:
+ if (strncmp(splitstr[FSTYPE], hugetlbfs_str, htlbfs_str_len) != 0) {
continue;
+ }
WARNING:BRACES: braces {} are not necessary for single statement blocks
#104: FILE: lib/eal/linux/eal_hugepage_info.c:245:
+ if (hugepage_sz != default_size) {
+ continue;
}
WARNING:BRACES: braces {} are not necessary for single statement blocks
#119: FILE: lib/eal/linux/eal_hugepage_info.c:252:
+ if (pagesz != hugepage_sz) {
+ continue;
}
WARNING:BRACES: braces {} are not necessary for single statement blocks
#146: FILE: lib/eal/linux/eal_hugepage_info.c:278:
+ if (strlen(splitstr[MOUNTPT]) > strlen(found)) {
+ strlcpy(found, splitstr[MOUNTPT], len);
+ }
total: 0 errors, 5 warnings, 101 lines checked
More information about the test-report
mailing list