From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Howard Wang <howard_wang@realsil.com.cn>
Subject: |WARNING| pw147170 [PATCH v4 06/18] net/r8169: add phy registers access routines
Date: Fri, 25 Oct 2024 05:38:28 +0200 (CEST) [thread overview]
Message-ID: <20241025033828.44E07123108@dpdk.org> (raw)
In-Reply-To: <20241025033529.15581-7-howard_wang@realsil.com.cn>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/147170
_coding style issues_
WARNING:COMMIT_MESSAGE: Missing commit description - Add an appropriate one
CHECK:CAMELCASE: Avoid CamelCase: <RegNum>
#95: FILE: drivers/net/r8169/r8169_phy.c:43:
+rtl_map_phy_ocp_addr(u16 PageNum, u8 RegNum)
CHECK:CAMELCASE: Avoid CamelCase: <RegAddr>
#124: FILE: drivers/net/r8169/r8169_phy.c:72:
+rtl_mdio_real_read_phy_ocp(struct rtl_hw *hw, u32 RegAddr)
CHECK:CAMELCASE: Avoid CamelCase: <OCPR_Addr_Reg_shift>
#130: FILE: drivers/net/r8169/r8169_phy.c:78:
+ data32 <<= OCPR_Addr_Reg_shift;
CHECK:CAMELCASE: Avoid CamelCase: <OCPR_Flag>
#136: FILE: drivers/net/r8169/r8169_phy.c:84:
+ if (RTL_R32(hw, PHYOCP) & OCPR_Flag)
CHECK:CAMELCASE: Avoid CamelCase: <OCPDR_Data_Mask>
#139: FILE: drivers/net/r8169/r8169_phy.c:87:
+ value = RTL_R32(hw, PHYOCP) & OCPDR_Data_Mask;
CHECK:CAMELCASE: Avoid CamelCase: <OCPR_Write>
#174: FILE: drivers/net/r8169/r8169_phy.c:122:
+ data32 |= OCPR_Write | value;
CHECK:CAMELCASE: Avoid CamelCase: <EPHYAR_Write>
#250: FILE: drivers/net/r8169/r8169_phy.c:198:
+ RTL_W32(hw, EPHYAR, EPHYAR_Write |
CHECK:CAMELCASE: Avoid CamelCase: <EPHYAR_Reg_Mask_v2>
#251: FILE: drivers/net/r8169/r8169_phy.c:199:
+ (addr & EPHYAR_Reg_Mask_v2) << EPHYAR_Reg_shift |
CHECK:CAMELCASE: Avoid CamelCase: <EPHYAR_Reg_shift>
#251: FILE: drivers/net/r8169/r8169_phy.c:199:
+ (addr & EPHYAR_Reg_Mask_v2) << EPHYAR_Reg_shift |
CHECK:CAMELCASE: Avoid CamelCase: <EPHYAR_Data_Mask>
#252: FILE: drivers/net/r8169/r8169_phy.c:200:
+ (value & EPHYAR_Data_Mask));
CHECK:CAMELCASE: Avoid CamelCase: <EPHYAR_Flag>
#258: FILE: drivers/net/r8169/r8169_phy.c:206:
+ if (!(RTL_R32(hw, EPHYAR) & EPHYAR_Flag))
CHECK:CAMELCASE: Avoid CamelCase: <EPHYAR_Read>
#271: FILE: drivers/net/r8169/r8169_phy.c:219:
+ RTL_W32(hw, EPHYAR, EPHYAR_Read | (addr & EPHYAR_Reg_Mask_v2) <<
total: 0 errors, 1 warnings, 12 checks, 251 lines checked
parent reply other threads:[~2024-10-25 3:38 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20241025033529.15581-7-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=20241025033828.44E07123108@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).