linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drivers: reduce the param length of the line
@ 2020-09-01  2:28 Tong Chen
  2020-09-01  7:29 ` Heiner Kallweit
  0 siblings, 1 reply; 2+ messages in thread
From: Tong Chen @ 2020-09-01  2:28 UTC (permalink / raw)
  To: tongchen; +Cc: nic_swsd, hkallweit1, davem, linux-kernel

Reduce the param length of the line from 79 chars to 52 chars,
which complies with kernel preferences.
Signed-off-by: Tong Chen <tongchen@whu.edu.cn>
---
 drivers/net/ethernet/realtek/r8169_phy_config.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/realtek/r8169_phy_config.c b/drivers/net/ethernet/realtek/r8169_phy_config.c
index 913d030d73eb..f4b738cf8ad7 100644
--- a/drivers/net/ethernet/realtek/r8169_phy_config.c
+++ b/drivers/net/ethernet/realtek/r8169_phy_config.c
@@ -1302,7 +1302,8 @@ static void rtl8125b_hw_phy_config(struct rtl8169_private *tp,
 	rtl8125b_config_eee_phy(phydev);
 }
 
-void r8169_hw_phy_config(struct rtl8169_private *tp, struct phy_device *phydev,
+void r8169_hw_phy_config(struct rtl8169_private *tp,
+			 struct phy_device *phydev,
 			 enum mac_version ver)
 {
 	static const rtl_phy_cfg_fct phy_configs[] = {
-- 
2.28.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] drivers: reduce the param length of the line
  2020-09-01  2:28 [PATCH] drivers: reduce the param length of the line Tong Chen
@ 2020-09-01  7:29 ` Heiner Kallweit
  0 siblings, 0 replies; 2+ messages in thread
From: Heiner Kallweit @ 2020-09-01  7:29 UTC (permalink / raw)
  To: Tong Chen; +Cc: nic_swsd, davem, linux-kernel

On 01.09.2020 04:28, Tong Chen wrote:
> Reduce the param length of the line from 79 chars to 52 chars,
> which complies with kernel preferences.

Apart from formal issues with the patch (missing net/net-next
annotation, wrong prefix): Did you get a checkpatch warning?
Or what's the source of your assumed kernel preference?

> Signed-off-by: Tong Chen <tongchen@whu.edu.cn>
> ---
>  drivers/net/ethernet/realtek/r8169_phy_config.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/net/ethernet/realtek/r8169_phy_config.c b/drivers/net/ethernet/realtek/r8169_phy_config.c
> index 913d030d73eb..f4b738cf8ad7 100644
> --- a/drivers/net/ethernet/realtek/r8169_phy_config.c
> +++ b/drivers/net/ethernet/realtek/r8169_phy_config.c
> @@ -1302,7 +1302,8 @@ static void rtl8125b_hw_phy_config(struct rtl8169_private *tp,
>  	rtl8125b_config_eee_phy(phydev);
>  }
>  
> -void r8169_hw_phy_config(struct rtl8169_private *tp, struct phy_device *phydev,
> +void r8169_hw_phy_config(struct rtl8169_private *tp,
> +			 struct phy_device *phydev,
>  			 enum mac_version ver)
>  {
>  	static const rtl_phy_cfg_fct phy_configs[] = {
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-01  7:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-01  2:28 [PATCH] drivers: reduce the param length of the line Tong Chen
2020-09-01  7:29 ` Heiner Kallweit

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