* [dpdk-test-report] |WARNING| [PATCH v2 31/55] net/sfc: implement driver operation to init device on attach
[not found] <1480436367-20749-32-git-send-email-arybchenko@solarflare.com>
@ 2016-11-29 16:38 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2016-11-29 16:38 UTC (permalink / raw)
To: test-report; +Cc: Andrew Rybchenko
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/17328
_coding style issues_
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOMEM)
#171: FILE: drivers/net/sfc/sfc.c:56:
+ return ENOMEM;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EFAULT)
#177: FILE: drivers/net/sfc/sfc.c:62:
+ return EFAULT;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EFAULT)
#221: FILE: drivers/net/sfc/sfc.c:106:
+ return EFAULT;
CHECK:CAMELCASE: Avoid CamelCase: <PRIu8>
#480: FILE: drivers/net/sfc/sfc_debug.h:51:
+ rte_panic("sfc " PCI_PRI_FMT " #%" PRIu8 ": " fmt "
", \
WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#677: FILE: drivers/net/sfc/sfc_mcdi.c:79:
+ RTE_BUILD_BUG_ON(SFC_MCDI_POLL_INTERVAL_MAX_US > UINT_MAX / 2);
total: 0 errors, 4 warnings, 1 checks, 664 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-11-29 16:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1480436367-20749-32-git-send-email-arybchenko@solarflare.com>
2016-11-29 16:38 ` [dpdk-test-report] |WARNING| [PATCH v2 31/55] net/sfc: implement driver operation to init device on attach checkpatch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).