From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Shubham Rohila <shubham.rohila@amd.com>
Subject: |WARNING| pw133835 [PATCH v2 2/2] bus/cdx: add bus master enable/disable APIs
Date: Fri, 3 Nov 2023 12:22:20 +0100 (CET) [thread overview]
Message-ID: <20231103112220.2AE37120A24@dpdk.org> (raw)
In-Reply-To: <20231103112016.1945684-2-shubham.rohila@amd.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/133835
_coding style issues_
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#68:
Subject: [PATCH v2 2/2] bus/cdx: add bus master enable/disable APIs
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#116:
enable or disable bus master functionality for cdx devices.
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#184: FILE: drivers/bus/cdx/cdx_vfio.c:106:
+ CDX_BUS_ERR("Error when disabling bus master for %s",
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#196: FILE: drivers/bus/cdx/cdx_vfio.c:264:
+ * device does not support configuring bus master.
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#199: FILE: drivers/bus/cdx/cdx_vfio.c:267:
+ CDX_BUS_ERR("Bus master enable failure! Error: %d (%s)", errno,
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#217: FILE: drivers/bus/cdx/cdx_vfio.c:618:
+ struct vfio_device_feature_bus_master *vfio_bm_feature;
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#226: FILE: drivers/bus/cdx/cdx_vfio.c:627:
+ argsz = sizeof(struct vfio_device_feature) + sizeof(struct vfio_device_feature_bus_master);
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#232: FILE: drivers/bus/cdx/cdx_vfio.c:633:
+ vfio_bm_feature = (struct vfio_device_feature_bus_master *) feature->data;
WARNING:TYPO_SPELLING: 'MASTER' may be misspelled - perhaps 'PRIMARY'?
#236: FILE: drivers/bus/cdx/cdx_vfio.c:637:
+ feature->flags = RTE_VFIO_DEVICE_FEATURE_BUS_MASTER | VFIO_DEVICE_FEATURE_PROBE;
WARNING:TYPO_SPELLING: 'Master' may be misspelled - perhaps 'Primary'?
#240: FILE: drivers/bus/cdx/cdx_vfio.c:641:
+ CDX_BUS_ERR("Bus Master configuring not supported for device: %s, error: %d (%s)
",
WARNING:TYPO_SPELLING: 'MASTER' may be misspelled - perhaps 'PRIMARY'?
#246: FILE: drivers/bus/cdx/cdx_vfio.c:647:
+ feature->flags = RTE_VFIO_DEVICE_FEATURE_BUS_MASTER | VFIO_DEVICE_FEATURE_SET;
WARNING:TYPO_SPELLING: 'MASTER' may be misspelled - perhaps 'PRIMARY'?
#247: FILE: drivers/bus/cdx/cdx_vfio.c:648:
+ vfio_bm_feature->op = VFIO_DEVICE_FEATURE_SET_MASTER;
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#261: FILE: drivers/bus/cdx/cdx_vfio.c:662:
+ struct vfio_device_feature_bus_master *vfio_bm_feature;
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#270: FILE: drivers/bus/cdx/cdx_vfio.c:671:
+ argsz = sizeof(struct vfio_device_feature) + sizeof(struct vfio_device_feature_bus_master);
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#276: FILE: drivers/bus/cdx/cdx_vfio.c:677:
+ vfio_bm_feature = (struct vfio_device_feature_bus_master *) feature->data;
WARNING:TYPO_SPELLING: 'MASTER' may be misspelled - perhaps 'PRIMARY'?
#280: FILE: drivers/bus/cdx/cdx_vfio.c:681:
+ feature->flags = RTE_VFIO_DEVICE_FEATURE_BUS_MASTER | VFIO_DEVICE_FEATURE_PROBE;
WARNING:TYPO_SPELLING: 'Master' may be misspelled - perhaps 'Primary'?
#284: FILE: drivers/bus/cdx/cdx_vfio.c:685:
+ CDX_BUS_ERR("Bus Master configuring not supported for device: %s, Error: %d (%s)
",
WARNING:TYPO_SPELLING: 'MASTER' may be misspelled - perhaps 'PRIMARY'?
#290: FILE: drivers/bus/cdx/cdx_vfio.c:691:
+ feature->flags = RTE_VFIO_DEVICE_FEATURE_BUS_MASTER | VFIO_DEVICE_FEATURE_SET;
WARNING:TYPO_SPELLING: 'MASTER' may be misspelled - perhaps 'PRIMARY'?
#291: FILE: drivers/bus/cdx/cdx_vfio.c:692:
+ vfio_bm_feature->op = VFIO_DEVICE_FEATURE_CLEAR_MASTER;
WARNING:TYPO_SPELLING: 'MASTER' may be misspelled - perhaps 'PRIMARY'?
#337: FILE: lib/eal/include/rte_vfio.h:92:
+#ifdef VFIO_DEVICE_FEATURE_BUS_MASTER
WARNING:TYPO_SPELLING: 'MASTER' may be misspelled - perhaps 'PRIMARY'?
#338: 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'?
#338: 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'?
#340: 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'?
#341: FILE: lib/eal/include/rte_vfio.h:96:
+struct vfio_device_feature_bus_master {
WARNING:TYPO_SPELLING: 'MASTER' may be misspelled - perhaps 'PRIMARY'?
#343: 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'?
#343: 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'?
#344: 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'?
#344: FILE: lib/eal/include/rte_vfio.h:99:
+#define VFIO_DEVICE_FEATURE_SET_MASTER 1 /* Set Bus Master */
total: 0 errors, 28 warnings, 196 lines checked
next prev parent reply other threads:[~2023-11-03 11:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20231103112016.1945684-2-shubham.rohila@amd.com>
2023-11-03 11:01 ` |SUCCESS| pw133834-133835 " qemudev
2023-11-03 11:05 ` qemudev
2023-11-03 11:22 ` checkpatch [this message]
2023-11-03 12:59 ` |SUCCESS| pw133835 " 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=20231103112220.2AE37120A24@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=shubham.rohila@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).