automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw76219 [PATCH v1 15/42] net/txgbe: add multi-speed link setup
       [not found] <20200901115113.1529675-15-jiawenwu@trustnetic.com>
@ 2020-09-08 23:27 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2020-09-08 23:27 UTC (permalink / raw)
  To: test-report; +Cc: Jiawen Wu

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

_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:660:
+	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'
#496: FILE: drivers/net/txgbe/base/txgbe_hw.c:1232:
+	if (link_up && (link_speed == TXGBE_LINK_SPEED_1GB_FULL))

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

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

only message in thread, other threads:[~2020-09-08 23:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20200901115113.1529675-15-jiawenwu@trustnetic.com>
2020-09-08 23:27 ` [dpdk-test-report] |WARNING| pw76219 [PATCH v1 15/42] 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).