* [dpdk-test-report] |WARNING| pw89197 [PATCH v4 1/8] common/sfc_efx/base: add base virtio support for vDPA
[not found] <20210316085832.942481-2-andrew.rybchenko@oktetlabs.ru>
@ 2021-03-16 8:59 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2021-03-16 8:59 UTC (permalink / raw)
To: test-report; +Cc: Andrew Rybchenko
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/89197
_coding style issues_
WARNING:FUNCTION_ARGUMENTS: function definition argument 'efx_virtio_vq_t *' should also have an identifier name
#234: FILE: drivers/common/sfc_efx/base/efx_impl.h:314:
+ efx_rc_t (*evo_virtio_qstart)(efx_virtio_vq_t *,
WARNING:FUNCTION_ARGUMENTS: function definition argument 'efx_virtio_vq_cfg_t *' should also have an identifier name
#234: FILE: drivers/common/sfc_efx/base/efx_impl.h:314:
+ efx_rc_t (*evo_virtio_qstart)(efx_virtio_vq_t *,
WARNING:FUNCTION_ARGUMENTS: function definition argument 'efx_virtio_vq_dyncfg_t *' should also have an identifier name
#234: FILE: drivers/common/sfc_efx/base/efx_impl.h:314:
+ efx_rc_t (*evo_virtio_qstart)(efx_virtio_vq_t *,
WARNING:FUNCTION_ARGUMENTS: function definition argument 'efx_virtio_vq_t *' should also have an identifier name
#237: FILE: drivers/common/sfc_efx/base/efx_impl.h:317:
+ efx_rc_t (*evo_virtio_qstop)(efx_virtio_vq_t *,
WARNING:FUNCTION_ARGUMENTS: function definition argument 'efx_virtio_vq_dyncfg_t *' should also have an identifier name
#237: FILE: drivers/common/sfc_efx/base/efx_impl.h:317:
+ efx_rc_t (*evo_virtio_qstop)(efx_virtio_vq_t *,
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#334: FILE: drivers/common/sfc_efx/base/efx_virtio.c:45:
+ return (0);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#342: FILE: drivers/common/sfc_efx/base/efx_virtio.c:53:
+ return (rc);
WARNING:SPACING: space prohibited between function name and open parenthesis '('
#370: FILE: drivers/common/sfc_efx/base/efx_virtio.c:81:
+ EFSYS_KMEM_ALLOC(enp->en_esip, sizeof (efx_virtio_vq_t), evvp);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#382: FILE: drivers/common/sfc_efx/base/efx_virtio.c:93:
+ return (0);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#387: FILE: drivers/common/sfc_efx/base/efx_virtio.c:98:
+ return (rc);
ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#415: FILE: drivers/common/sfc_efx/base/efx_virtio.c:126:
+ if ((rc = evop->evo_virtio_qstart(evvp, evvcp, evvdp)) != 0)
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#422: FILE: drivers/common/sfc_efx/base/efx_virtio.c:133:
+ return (0);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#433: FILE: drivers/common/sfc_efx/base/efx_virtio.c:144:
+ return (rc);
ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#467: FILE: drivers/common/sfc_efx/base/efx_virtio.c:178:
+ if ((rc = evop->evo_virtio_qstop(evvp, evvdp)) != 0)
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#483: FILE: drivers/common/sfc_efx/base/efx_virtio.c:194:
+ return (rc);
WARNING:SPACING: space prohibited between function name and open parenthesis '('
#501: FILE: drivers/common/sfc_efx/base/efx_virtio.c:212:
+ EFSYS_KMEM_FREE(enp->en_esip, sizeof (efx_virtio_vq_t), evvp);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#683: FILE: drivers/common/sfc_efx/base/rhead_virtio.c:124:
+ return (0);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#694: FILE: drivers/common/sfc_efx/base/rhead_virtio.c:135:
+ return (rc);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#746: FILE: drivers/common/sfc_efx/base/rhead_virtio.c:187:
+ return (rc);
total: 12 errors, 7 warnings, 636 lines checked
^ permalink raw reply [flat|nested] only message in thread