From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Ferruh Yigit <ferruh.yigit@amd.com>
Subject: |WARNING| pw133513 [PATCH] Add bus master enable/disable APIs for CDX devices
Date: Fri, 27 Oct 2023 18:24:07 +0200 (CEST) [thread overview]
Message-ID: <20231027162407.31C63120A1D@dpdk.org> (raw)
In-Reply-To: <20231027162212.3353973-1-ferruh.yigit@amd.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/133513
_coding style issues_
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#64:
Subject: [PATCH] Add bus master enable/disable APIs for CDX devices
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#114:
enable or disable bus master functionality for cdx devices.
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#177: FILE: drivers/bus/cdx/cdx_vfio.c:261:
+ * device does not support configuring bus master.
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#180: FILE: drivers/bus/cdx/cdx_vfio.c:264:
+ CDX_BUS_ERR("Bus master enable failure! Error: %d (%s)", errno,
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#198: FILE: drivers/bus/cdx/cdx_vfio.c:615:
+ struct vfio_device_feature_bus_master *vfio_bm_feature;
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#207: FILE: drivers/bus/cdx/cdx_vfio.c:624:
+ argsz = sizeof(struct vfio_device_feature) + sizeof(struct vfio_device_feature_bus_master);
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#213: FILE: drivers/bus/cdx/cdx_vfio.c:630:
+ vfio_bm_feature = (struct vfio_device_feature_bus_master *) feature->data;
WARNING:TYPO_SPELLING: 'MASTER' may be misspelled - perhaps 'PRIMARY'?
#217: FILE: drivers/bus/cdx/cdx_vfio.c:634:
+ feature->flags = RTE_VFIO_DEVICE_FEATURE_BUS_MASTER | VFIO_DEVICE_FEATURE_PROBE;
WARNING:TYPO_SPELLING: 'Master' may be misspelled - perhaps 'Primary'?
#221: FILE: drivers/bus/cdx/cdx_vfio.c:638:
+ CDX_BUS_ERR("Bus Master configuring not supported for device: %s, error: %d (%s)
",
WARNING:TYPO_SPELLING: 'MASTER' may be misspelled - perhaps 'PRIMARY'?
#227: FILE: drivers/bus/cdx/cdx_vfio.c:644:
+ feature->flags = RTE_VFIO_DEVICE_FEATURE_BUS_MASTER | VFIO_DEVICE_FEATURE_SET;
WARNING:TYPO_SPELLING: 'MASTER' may be misspelled - perhaps 'PRIMARY'?
#228: FILE: drivers/bus/cdx/cdx_vfio.c:645:
+ vfio_bm_feature->op = VFIO_DEVICE_FEATURE_SET_MASTER;
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#242: FILE: drivers/bus/cdx/cdx_vfio.c:659:
+ struct vfio_device_feature_bus_master *vfio_bm_feature;
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#255: FILE: drivers/bus/cdx/cdx_vfio.c:672:
+ vfio_bm_feature = (struct vfio_device_feature_bus_master *) feature->data;
WARNING:TYPO_SPELLING: 'MASTER' may be misspelled - perhaps 'PRIMARY'?
#259: FILE: drivers/bus/cdx/cdx_vfio.c:676:
+ feature->flags = RTE_VFIO_DEVICE_FEATURE_BUS_MASTER | VFIO_DEVICE_FEATURE_PROBE;
WARNING:TYPO_SPELLING: 'Master' may be misspelled - perhaps 'Primary'?
#263: FILE: drivers/bus/cdx/cdx_vfio.c:680:
+ CDX_BUS_ERR("Bus Master configuring not supported for device: %s, Error: %d (%s)
",
WARNING:TYPO_SPELLING: 'MASTER' may be misspelled - perhaps 'PRIMARY'?
#269: FILE: drivers/bus/cdx/cdx_vfio.c:686:
+ feature->flags = RTE_VFIO_DEVICE_FEATURE_BUS_MASTER | VFIO_DEVICE_FEATURE_SET;
WARNING:TYPO_SPELLING: 'MASTER' may be misspelled - perhaps 'PRIMARY'?
#270: FILE: drivers/bus/cdx/cdx_vfio.c:687:
+ vfio_bm_feature->op = VFIO_DEVICE_FEATURE_CLEAR_MASTER;
WARNING:TYPO_SPELLING: 'MASTER' may be misspelled - perhaps 'PRIMARY'?
#316: FILE: lib/eal/include/rte_vfio.h:92:
+#ifdef VFIO_DEVICE_FEATURE_BUS_MASTER
WARNING:TYPO_SPELLING: 'MASTER' may be misspelled - perhaps 'PRIMARY'?
#317: FILE: lib/eal/include/rte_vfio.h:93:
+#define RTE_VFIO_DEVICE_FEATURE_BUS_MASTER VFIO_DEVICE_FEATURE_BUS_MASTER
WARNING:TYPO_SPELLING: 'MASTER' may be misspelled - perhaps 'PRIMARY'?
#317: FILE: lib/eal/include/rte_vfio.h:93:
+#define RTE_VFIO_DEVICE_FEATURE_BUS_MASTER VFIO_DEVICE_FEATURE_BUS_MASTER
WARNING:TYPO_SPELLING: 'MASTER' may be misspelled - perhaps 'PRIMARY'?
#319: FILE: lib/eal/include/rte_vfio.h:95:
+#define RTE_VFIO_DEVICE_FEATURE_BUS_MASTER 10
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#320: FILE: lib/eal/include/rte_vfio.h:96:
+struct vfio_device_feature_bus_master {
WARNING:TYPO_SPELLING: 'MASTER' may be misspelled - perhaps 'PRIMARY'?
#322: FILE: lib/eal/include/rte_vfio.h:98:
+#define VFIO_DEVICE_FEATURE_CLEAR_MASTER 0 /* Clear Bus Master */
WARNING:TYPO_SPELLING: 'Master' may be misspelled - perhaps 'Primary'?
#322: FILE: lib/eal/include/rte_vfio.h:98:
+#define VFIO_DEVICE_FEATURE_CLEAR_MASTER 0 /* Clear Bus Master */
WARNING:TYPO_SPELLING: 'MASTER' may be misspelled - perhaps 'PRIMARY'?
#323: FILE: lib/eal/include/rte_vfio.h:99:
+#define VFIO_DEVICE_FEATURE_SET_MASTER 1 /* Set Bus Master */
WARNING:TYPO_SPELLING: 'Master' may be misspelled - perhaps 'Primary'?
#323: FILE: lib/eal/include/rte_vfio.h:99:
+#define VFIO_DEVICE_FEATURE_SET_MASTER 1 /* Set Bus Master */
total: 0 errors, 26 warnings, 184 lines checked
next prev parent reply other threads:[~2023-10-27 16:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20231027162212.3353973-1-ferruh.yigit@amd.com>
2023-10-27 16:06 ` |SUCCESS| " qemudev
2023-10-27 16:10 ` qemudev
2023-10-27 16:24 ` checkpatch [this message]
2023-10-27 17:39 ` |FAILURE| " 0-day Robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231027162407.31C63120A1D@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=ferruh.yigit@amd.com \
--cc=test-report@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).