automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw79633 [PATCH v2 16/56] net/txgbe: add multi-speed link setup
       [not found] <20201005120910.189343-17-jiawenwu@trustnetic.com>
@ 2020-10-05 12:17 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2020-10-05 12:17 UTC (permalink / raw)
  To: test-report; +Cc: Jiawen Wu

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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'hw->phy.media_type == txgbe_media_type_fiber'
#232: FILE: drivers/net/txgbe/base/txgbe_hw.c:505:
+	if ((hw->phy.media_type == txgbe_media_type_fiber) &&
+	    !txgbe_mng_enabled(hw)) {

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'link_speed == TXGBE_LINK_SPEED_1GB_FULL'
#488: FILE: drivers/net/txgbe/base/txgbe_hw.c:1005:
+	if (link_up && (link_speed == TXGBE_LINK_SPEED_1GB_FULL))

total: 0 errors, 0 warnings, 2 checks, 444 lines checked

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

only message in thread, other threads:[~2020-10-05 12:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20201005120910.189343-17-jiawenwu@trustnetic.com>
2020-10-05 12:17 ` [dpdk-test-report] |WARNING| pw79633 [PATCH v2 16/56] net/txgbe: add multi-speed link setup 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).