[dpdk-test-report] |WARNING| pw59687 [PATCH] kni: rework rte_kni_update_link using ioctl
checkpatch at dpdk.org
checkpatch at dpdk.org
Tue Sep 24 21:26:13 CEST 2019
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/59687
_coding style issues_
WARNING:EMBEDDED_FUNCTION_NAME: Prefer using '"%s...", __func__' to using 'kni_ioctl_link', this function's name, in a string
#71: FILE: kernel/linux/kni/kni_misc.c:481:
+ pr_err("copy_from_user in kni_ioctl_link");
WARNING:BRACES: braces {} are not necessary for any arm of this statement
#85: FILE: kernel/linux/kni/kni_misc.c:495:
+ if (link_info.linkup) {
[...]
+ } else {
[...]
total: 0 errors, 2 warnings, 164 lines checked
More information about the test-report
mailing list