From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Feifei Wang <wff_light@vip.163.com>
Subject: |WARNING| pw153032 [RFC 15/18] net/hinic3: add MML and EEPROM access feature
Date: Fri, 18 Apr 2025 11:16:50 +0200 (CEST) [thread overview]
Message-ID: <20250418091650.37AE5123FA7@dpdk.org> (raw)
In-Reply-To: <20250418090621.9638-16-wff_light@vip.163.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/153032
_coding style issues_
WARNING:TYPO_SPELLING: 'POSTION' may be misspelled - perhaps 'POSITION'?
#620: FILE: drivers/net/hinic3/mml/hinic3_mml_cmd.c:134:
+ if (COMMAND_HELP_POSTION(argc) &&
WARNING:TYPO_SPELLING: 'POSTION' may be misspelled - perhaps 'POSITION'?
#626: FILE: drivers/net/hinic3/mml/hinic3_mml_cmd.c:140:
+ if (COMMAND_VERSION_POSTION(argc) &&
WARNING:TYPO_SPELLING: 'reslut' may be misspelled - perhaps 'result'?
#778: FILE: drivers/net/hinic3/mml/hinic3_mml_cmd.c:292:
+copy_reslut_to_buffer(void *buf_out, char *reslut, int len)
WARNING:TYPO_SPELLING: 'reslut' may be misspelled - perhaps 'result'?
#778: FILE: drivers/net/hinic3/mml/hinic3_mml_cmd.c:292:
+copy_reslut_to_buffer(void *buf_out, char *reslut, int len)
WARNING:TYPO_SPELLING: 'reslut' may be misspelled - perhaps 'result'?
#782: FILE: drivers/net/hinic3/mml/hinic3_mml_cmd.c:296:
+ ret = snprintf(buf_out, len - 1, "%s", reslut);
WARNING:TYPO_SPELLING: 'reslut' may be misspelled - perhaps 'result'?
#798: FILE: drivers/net/hinic3/mml/hinic3_mml_cmd.c:312:
+ *out_len = (u32)copy_reslut_to_buffer(buf_out,
WARNING:TYPO_SPELLING: 'reslut' may be misspelled - perhaps 'result'?
#836: FILE: drivers/net/hinic3/mml/hinic3_mml_cmd.c:350:
+ *out_len = (u32)copy_reslut_to_buffer(buf_out,
WARNING:TYPO_SPELLING: 'reslut' may be misspelled - perhaps 'result'?
#852: FILE: drivers/net/hinic3/mml/hinic3_mml_cmd.c:366:
+ *out_len = (u32)copy_reslut_to_buffer(buf_out, major_cmd->show_str,
WARNING:TYPO_SPELLING: 'POSTION' may be misspelled - perhaps 'POSITION'?
#877: FILE: drivers/net/hinic3/mml/hinic3_mml_cmd.h:10:
+#define COMMAND_HELP_POSTION(argc) \
WARNING:TYPO_SPELLING: 'POSTION' may be misspelled - perhaps 'POSITION'?
#882: FILE: drivers/net/hinic3/mml/hinic3_mml_cmd.h:15:
+#define COMMAND_VERSION_POSTION(argc) ((argc) == 2)
WARNING:TYPO_SPELLING: 'formate' may be misspelled - perhaps 'format'?
#1119: FILE: drivers/net/hinic3/mml/hinic3_mml_ioctl.c:115:
+ (enum driver_cmd_type)nt_msg->msg_formate;
WARNING:TYPO_SPELLING: 'formate' may be misspelled - perhaps 'format'?
#1251: FILE: drivers/net/hinic3/mml/hinic3_mml_lib.c:26:
+ unsigned int msg_formate, unsigned int in_buff_len,
WARNING:TYPO_SPELLING: 'formate' may be misspelled - perhaps 'format'?
#1257: FILE: drivers/net/hinic3/mml/hinic3_mml_lib.c:32:
+ msg->msg_formate = msg_formate;
WARNING:TYPO_SPELLING: 'formate' may be misspelled - perhaps 'format'?
#1257: FILE: drivers/net/hinic3/mml/hinic3_mml_lib.c:32:
+ msg->msg_formate = msg_formate;
WARNING:TYPO_SPELLING: 'slq' may be misspelled - perhaps 'sql'?
#1507: FILE: drivers/net/hinic3/mml/hinic3_mml_lib.h:140:
+ void *slq_handle;
WARNING:TYPO_SPELLING: 'formate' may be misspelled - perhaps 'format'?
#1530: FILE: drivers/net/hinic3/mml/hinic3_mml_lib.h:163:
+ uint32_t msg_formate; /**< For driver. */
CHECK:CAMELCASE: Avoid CamelCase: <PRIx64>
#1912: FILE: drivers/net/hinic3/mml/hinic3_mml_queue.c:91:
+ hinic3_pmd_mml_log(self->show_str, &self->show_len, "buf_addr:0x%" PRIx64,
CHECK:CAMELCASE: Avoid CamelCase: <PRIu64>
#2076: FILE: drivers/net/hinic3/mml/hinic3_mml_queue.c:255:
+ "cla_addr:0x%" PRIu64,
CHECK:CAMELCASE: Avoid CamelCase: <PRId64>
#2079: FILE: drivers/net/hinic3/mml/hinic3_mml_queue.c:258:
+ "doorbell phy_addr:0x%" PRId64,
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2171: FILE: drivers/net/hinic3/mml/hinic3_mml_queue.c:350:
+ "slave_port_id:%u", task->bs2.slave_port_id);
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2171: FILE: drivers/net/hinic3/mml/hinic3_mml_queue.c:350:
+ "slave_port_id:%u", task->bs2.slave_port_id);
WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#2638: FILE: drivers/net/hinic3/mml/hinic3_mml_queue.h:62:
+ unsigned int slave_port_id : 2;
total: 0 errors, 19 warnings, 3 checks, 2734 lines checked
parent reply other threads:[~2025-04-18 9:17 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20250418090621.9638-16-wff_light@vip.163.com>]
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=20250418091650.37AE5123FA7@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=test-report@dpdk.org \
--cc=wff_light@vip.163.com \
/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).