automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw44675 [v2, 19/21] net/atlantic: device MTU and statuses
       [not found] <1536838528-11800-19-git-send-email-igor.russkikh@aquantia.com>
@ 2018-09-13 11:39 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-09-13 11:39 UTC (permalink / raw)
  To: test-report; +Cc: Igor Russkikh

Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/44675

_coding style issues_


WARNING:EMBEDDED_FUNCTION_NAME: Prefer using '"%s...", __func__' to using 'atl_dev_start', this function's name, in a string
#92: FILE: drivers/net/atlantic/atl_ethdev.c:694:
+	PMD_INIT_LOG(ERR, "failure in atl_dev_start(): %d", err);

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'mtu < ETHER_MIN_MTU'
#219: FILE: drivers/net/atlantic/atl_ethdev.c:1418:
+	if ((mtu < ETHER_MIN_MTU) || (frame_size > dev_info.max_rx_pktlen))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'frame_size > dev_info.max_rx_pktlen'
#219: FILE: drivers/net/atlantic/atl_ethdev.c:1418:
+	if ((mtu < ETHER_MIN_MTU) || (frame_size > dev_info.max_rx_pktlen))

total: 0 errors, 1 warnings, 2 checks, 212 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-09-13 11:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1536838528-11800-19-git-send-email-igor.russkikh@aquantia.com>
2018-09-13 11:39 ` [dpdk-test-report] |WARNING| pw44675 [v2, 19/21] net/atlantic: device MTU and statuses checkpatch

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).