* [dpdk-test-report] |WARNING| pw72938 [PATCH] net/pcap: support snaplen option to truncate packet
[not found] <1593757152-4113-1-git-send-email-wangzhike@jd.com>
@ 2020-07-03 6:20 ` checkpatch
2020-07-03 11:13 ` [dpdk-test-report] |WARNING| pw72938 " 0-day Robot
1 sibling, 0 replies; 2+ messages in thread
From: checkpatch @ 2020-07-03 6:20 UTC (permalink / raw)
To: test-report; +Cc: Zhike Wang
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/72938
_coding style issues_
WARNING:TYPO_SPELLING: 'convinient' may be misspelled - perhaps 'convenient'?
#59:
Introduced "snaplen=<length>" option. It is convinient to truncate
WARNING:LONG_LINE: line over 90 characters
#135: FILE: app/pdump/main.c:713:
+ snprintf(vdev_args + strlen(vdev_args), sizeof(vdev_args) - strlen(vdev_args),
WARNING:LONG_LINE: line over 90 characters
#144: FILE: app/pdump/main.c:745:
+ snprintf(vdev_args + strlen(vdev_args), sizeof(vdev_args) - strlen(vdev_args),
WARNING:LONG_LINE: line over 90 characters
#153: FILE: app/pdump/main.c:787:
+ snprintf(vdev_args + strlen(vdev_args), sizeof(vdev_args) - strlen(vdev_args),
WARNING:LONG_LINE: line over 90 characters
#162: FILE: app/pdump/main.c:826:
+ snprintf(vdev_args + strlen(vdev_args), sizeof(vdev_args) - strlen(vdev_args),
ERROR:CODE_INDENT: code indent should use tabs where possible
#207: FILE: drivers/net/pcap/rte_eth_pcap.c:346:
+ if ((pp->snaplen > 0) && (caplen > pp->snaplen))$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#207: FILE: drivers/net/pcap/rte_eth_pcap.c:346:
+ if ((pp->snaplen > 0) && (caplen > pp->snaplen))$
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (15, 23)
#207: FILE: drivers/net/pcap/rte_eth_pcap.c:346:
+ if ((pp->snaplen > 0) && (caplen > pp->snaplen))
+ caplen = pp->snaplen;
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'pp->snaplen > 0'
#207: FILE: drivers/net/pcap/rte_eth_pcap.c:346:
+ if ((pp->snaplen > 0) && (caplen > pp->snaplen))
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'caplen > pp->snaplen'
#207: FILE: drivers/net/pcap/rte_eth_pcap.c:346:
+ if ((pp->snaplen > 0) && (caplen > pp->snaplen))
ERROR:CODE_INDENT: code indent should use tabs where possible
#208: FILE: drivers/net/pcap/rte_eth_pcap.c:347:
+ caplen = pp->snaplen;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#208: FILE: drivers/net/pcap/rte_eth_pcap.c:347:
+ caplen = pp->snaplen;$
total: 2 errors, 8 warnings, 2 checks, 186 lines checked
^ permalink raw reply [flat|nested] 2+ messages in thread
* [dpdk-test-report] |WARNING| pw72938 net/pcap: support snaplen option to truncate packet
[not found] <1593757152-4113-1-git-send-email-wangzhike@jd.com>
2020-07-03 6:20 ` [dpdk-test-report] |WARNING| pw72938 [PATCH] net/pcap: support snaplen option to truncate packet checkpatch
@ 2020-07-03 11:13 ` 0-day Robot
1 sibling, 0 replies; 2+ messages in thread
From: 0-day Robot @ 2020-07-03 11:13 UTC (permalink / raw)
To: test-report; +Cc: wangzhike, robot
From: robot@bytheb.org
Test-Label: travis-robot
Test-Status: WARNING
http://dpdk.org/patch/72938
_Travis build: failed_
Build URL: https://travis-ci.com/ovsrobot/dpdk/builds/174167805
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-07-03 11:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1593757152-4113-1-git-send-email-wangzhike@jd.com>
2020-07-03 6:20 ` [dpdk-test-report] |WARNING| pw72938 [PATCH] net/pcap: support snaplen option to truncate packet checkpatch
2020-07-03 11:13 ` [dpdk-test-report] |WARNING| pw72938 " 0-day Robot
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).