linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] net: phy: Fix doc build warning
@ 2021-12-06  8:12 Yanteng Si
  2021-12-06  8:12 ` [PATCH v2 1/2] net: phy: Remove unnecessary indentation in the comments of phy_device Yanteng Si
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Yanteng Si @ 2021-12-06  8:12 UTC (permalink / raw)
  To: akiyks, linux
  Cc: Yanteng Si, andrew, corbet, chenhuacai, hkallweit1, linux-doc,
	netdev, siyanteng01


v2:

* Modified Patch 1/2 under Akira's advices.

* Add Patch 2/2 to fix warning as:

Documentation/networking/kapi:147: ./drivers/net/phy/phylink.c:1657: WARNING: Unexpected indentation.
Documentation/networking/kapi:147: ./drivers/net/phy/phylink.c:1658: WARNING: Block quote ends without a blank line; unexpected unindent.

v1:(Patch 0001)

* Fix warning as:

linux-next/Documentation/networking/kapi:122: ./include/linux/phy.h:543: WARNING: Unexpected indentation.
linux-next/Documentation/networking/kapi:122: ./include/linux/phy.h:544: WARNING: Block quote ends without a blank line; unexpected unindent.
linux-next/Documentation/networking/kapi:122: ./include/linux/phy.h:546: WARNING: Unexpected indentation.

Yanteng Si (2):
  net: phy: Remove unnecessary indentation in the comments of phy_device
  net: phy: Add the missing blank line in the phylink_suspend comment

 drivers/net/phy/phylink.c |  1 +
 include/linux/phy.h       | 11 ++++++-----
 2 files changed, 7 insertions(+), 5 deletions(-)

-- 
2.27.0


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

* [PATCH v2 1/2] net: phy: Remove unnecessary indentation in the comments of phy_device
  2021-12-06  8:12 [PATCH v2 0/2] net: phy: Fix doc build warning Yanteng Si
@ 2021-12-06  8:12 ` Yanteng Si
  2021-12-06  8:12 ` [PATCH v2 2/2] net: phy: Add the missing blank line in the phylink_suspend comment Yanteng Si
  2021-12-08  5:50 ` [PATCH v2 0/2] net: phy: Fix doc build warning patchwork-bot+netdevbpf
  2 siblings, 0 replies; 4+ messages in thread
From: Yanteng Si @ 2021-12-06  8:12 UTC (permalink / raw)
  To: akiyks, linux
  Cc: Yanteng Si, andrew, corbet, chenhuacai, hkallweit1, linux-doc,
	netdev, Yanteng Si

From: Yanteng Si <siyanteng01@gmail.com>

Fix warning as:

linux-next/Documentation/networking/kapi:122: ./include/linux/phy.h:543: WARNING: Unexpected indentation.
linux-next/Documentation/networking/kapi:122: ./include/linux/phy.h:544: WARNING: Block quote ends without a blank line; unexpected unindent.
linux-next/Documentation/networking/kapi:122: ./include/linux/phy.h:546: WARNING: Unexpected indentation.

Signed-off-by: Yanteng Si <siyanteng@loongson.cn>
---
 include/linux/phy.h | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/include/linux/phy.h b/include/linux/phy.h
index 1e57cdd95da3..6de8d7a90d78 100644
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
@@ -538,11 +538,12 @@ struct macsec_ops;
  * @mac_managed_pm: Set true if MAC driver takes of suspending/resuming PHY
  * @state: State of the PHY for management purposes
  * @dev_flags: Device-specific flags used by the PHY driver.
- *		Bits [15:0] are free to use by the PHY driver to communicate
- *			    driver specific behavior.
- *		Bits [23:16] are currently reserved for future use.
- *		Bits [31:24] are reserved for defining generic
- *			     PHY driver behavior.
+ *
+ *      - Bits [15:0] are free to use by the PHY driver to communicate
+ *        driver specific behavior.
+ *      - Bits [23:16] are currently reserved for future use.
+ *      - Bits [31:24] are reserved for defining generic
+ *        PHY driver behavior.
  * @irq: IRQ number of the PHY's interrupt (-1 if none)
  * @phy_timer: The timer for handling the state machine
  * @phylink: Pointer to phylink instance for this PHY
-- 
2.27.0


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

* [PATCH v2 2/2] net: phy: Add the missing blank line in the phylink_suspend comment
  2021-12-06  8:12 [PATCH v2 0/2] net: phy: Fix doc build warning Yanteng Si
  2021-12-06  8:12 ` [PATCH v2 1/2] net: phy: Remove unnecessary indentation in the comments of phy_device Yanteng Si
@ 2021-12-06  8:12 ` Yanteng Si
  2021-12-08  5:50 ` [PATCH v2 0/2] net: phy: Fix doc build warning patchwork-bot+netdevbpf
  2 siblings, 0 replies; 4+ messages in thread
From: Yanteng Si @ 2021-12-06  8:12 UTC (permalink / raw)
  To: akiyks, linux
  Cc: Yanteng Si, andrew, corbet, chenhuacai, hkallweit1, linux-doc,
	netdev, siyanteng01

Fix warning as:

Documentation/networking/kapi:147: ./drivers/net/phy/phylink.c:1657: WARNING: Unexpected indentation.
Documentation/networking/kapi:147: ./drivers/net/phy/phylink.c:1658: WARNING: Block quote ends without a blank line; unexpected unindent.

Signed-off-by: Yanteng Si <siyanteng@loongson.cn>
---
 drivers/net/phy/phylink.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/phy/phylink.c b/drivers/net/phy/phylink.c
index 8e3861f09b4f..c26884a56354 100644
--- a/drivers/net/phy/phylink.c
+++ b/drivers/net/phy/phylink.c
@@ -1653,6 +1653,7 @@ EXPORT_SYMBOL_GPL(phylink_stop);
  * @mac_wol: true if the MAC needs to receive packets for Wake-on-Lan
  *
  * Handle a network device suspend event. There are several cases:
+ *
  * - If Wake-on-Lan is not active, we can bring down the link between
  *   the MAC and PHY by calling phylink_stop().
  * - If Wake-on-Lan is active, and being handled only by the PHY, we
-- 
2.27.0


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

* Re: [PATCH v2 0/2] net: phy: Fix doc build warning
  2021-12-06  8:12 [PATCH v2 0/2] net: phy: Fix doc build warning Yanteng Si
  2021-12-06  8:12 ` [PATCH v2 1/2] net: phy: Remove unnecessary indentation in the comments of phy_device Yanteng Si
  2021-12-06  8:12 ` [PATCH v2 2/2] net: phy: Add the missing blank line in the phylink_suspend comment Yanteng Si
@ 2021-12-08  5:50 ` patchwork-bot+netdevbpf
  2 siblings, 0 replies; 4+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-12-08  5:50 UTC (permalink / raw)
  To: Yanteng Si
  Cc: akiyks, linux, siyanteng, andrew, corbet, chenhuacai, hkallweit1,
	linux-doc, netdev

Hello:

This series was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Mon,  6 Dec 2021 16:12:26 +0800 you wrote:
> v2:
> 
> * Modified Patch 1/2 under Akira's advices.
> 
> * Add Patch 2/2 to fix warning as:
> 
> Documentation/networking/kapi:147: ./drivers/net/phy/phylink.c:1657: WARNING: Unexpected indentation.
> Documentation/networking/kapi:147: ./drivers/net/phy/phylink.c:1658: WARNING: Block quote ends without a blank line; unexpected unindent.
> 
> [...]

Here is the summary with links:
  - [v2,1/2] net: phy: Remove unnecessary indentation in the comments of phy_device
    https://git.kernel.org/netdev/net/c/a97770cc4016
  - [v2,2/2] net: phy: Add the missing blank line in the phylink_suspend comment
    https://git.kernel.org/netdev/net/c/c35e8de70456

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



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

end of thread, other threads:[~2021-12-08  5:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-06  8:12 [PATCH v2 0/2] net: phy: Fix doc build warning Yanteng Si
2021-12-06  8:12 ` [PATCH v2 1/2] net: phy: Remove unnecessary indentation in the comments of phy_device Yanteng Si
2021-12-06  8:12 ` [PATCH v2 2/2] net: phy: Add the missing blank line in the phylink_suspend comment Yanteng Si
2021-12-08  5:50 ` [PATCH v2 0/2] net: phy: Fix doc build warning patchwork-bot+netdevbpf

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