From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Howard Wang <howard_wang@realsil.com.cn>
Subject: |WARNING| pw148346 [PATCH v7 08/17] net/r8169: add support for PHY configuration
Date: Tue, 12 Nov 2024 11:03:22 +0100 (CET) [thread overview]
Message-ID: <20241112100322.3CEFF123151@dpdk.org> (raw)
In-Reply-To: <20241112095804.42091-9-howard_wang@realsil.com.cn>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/148346
_coding style issues_
CHECK:CAMELCASE: Avoid CamelCase: <HwSuppCheckPhyDisableModeVer>
#127: FILE: drivers/net/r8169/r8169_ethdev.h:40:
+ u8 HwSuppCheckPhyDisableModeVer;
CHECK:CAMELCASE: Avoid CamelCase: <HwSuppMaxPhyLinkSpeed>
#132: FILE: drivers/net/r8169/r8169_ethdev.h:45:
+ u32 HwSuppMaxPhyLinkSpeed;
CHECK:CAMELCASE: Avoid CamelCase: <PhyState>
#195: FILE: drivers/net/r8169/r8169_phy.c:375:
+rtl_wait_phy_ups_resume(struct rtl_hw *hw, u16 PhyState)
CHECK:CAMELCASE: Avoid CamelCase: <HwHasWrRamCodeToMicroP>
#359: FILE: drivers/net/r8169/r8169_phy.c:539:
+ hw->HwHasWrRamCodeToMicroP = TRUE;
CHECK:CAMELCASE: Avoid CamelCase: <NotWrRamCodeToMicroP>
#407: FILE: drivers/net/r8169/r8169_phy.c:587:
+ if (hw->NotWrRamCodeToMicroP == TRUE)
CHECK:BOOL_COMPARISON: Using comparison to TRUE is error prone
#407: FILE: drivers/net/r8169/r8169_phy.c:587:
+ if (hw->NotWrRamCodeToMicroP == TRUE)
WARNING:TYPO_SPELLING: 'asymetric' may be misspelled - perhaps 'asymmetric'?
#677: FILE: drivers/net/r8169/r8169_phy.h:86:
+#define ADVERTISE_PAUSE_ASYM 0x0800 /* Try for asymetric pause */
total: 0 errors, 1 warnings, 6 checks, 614 lines checked
parent reply other threads:[~2024-11-12 10:03 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20241112095804.42091-9-howard_wang@realsil.com.cn>]
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=20241112100322.3CEFF123151@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=howard_wang@realsil.com.cn \
--cc=test-report@dpdk.org \
/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).