automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw57981 [PATCH v1 06/13] net/ppfe: add MAC and host interface initialisation
       [not found] <20190826130246.30485-7-g.singh@nxp.com>
@ 2019-08-26 13:18 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2019-08-26 13:18 UTC (permalink / raw)
  To: test-report; +Cc: Gagandeep Singh

Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/57981

_coding style issues_


ERROR:SPACING: space required before the open brace '{'
#367: FILE: drivers/net/ppfe/pfe_hal.c:172:
+	} else{

WARNING:BRACES: braces {} are not necessary for any arm of this statement
#646: FILE: drivers/net/ppfe/pfe_hal.c:451:
+	if (pfe_svr == SVR_LS1012A_REV1) {
[...]
+	} else {
[...]

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'd' - possible side-effects?
#809: FILE: drivers/net/ppfe/pfe_hif.c:11:
+#define DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d))

WARNING:UNNECESSARY_INT: Prefer 'unsigned long' over 'unsigned long int' as the int is unnecessary
#922: FILE: drivers/net/ppfe/pfe_hif.c:124:
+	lmem_virt_addr = (void *)CBUS_PFE_TO_VIRT((unsigned long int)lmem_ptr);

WARNING:UNNECESSARY_INT: Prefer 'unsigned long' over 'unsigned long int' as the int is unnecessary
#940: FILE: drivers/net/ppfe/pfe_hif.c:142:
+	writel((unsigned long int)lmem_ptr, CLASS_INQ_PKTPTR);

total: 1 errors, 3 warnings, 1 checks, 1508 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-08-26 13:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20190826130246.30485-7-g.singh@nxp.com>
2019-08-26 13:18 ` [dpdk-test-report] |WARNING| pw57981 [PATCH v1 06/13] net/ppfe: add MAC and host interface initialisation 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).