net: pse-pd: Fixes for few small issues
Subsystems (3)
Kory Maincent
maintainerv3 cover net: pse-pd: Fixes for few small issues
From: Kory Maincent (Dent Project) <[email protected]>
This patch series fix few issues in PSE net subsystem like Regulator dependency, PSE regulator type and kernel Documentation.
---
Changes in v3:
- Add a missing Fixes tag.
- Remove "Dent project" from the patch author description.
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in v2:
- Remove "Dent project" from my sob.
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Kory Maincent (3):
net: pse-pd: pse_core: Add missing kdoc return description
net: pse-pd: pse_core: Fix pse regulator type
net: pse-pd: Kconfig: Add missing Regulator API dependency
drivers/net/pse-pd/Kconfig | 2 +- drivers/net/pse-pd/pse_core.c | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-)
---
base-commit: 6a57f091622a1251c2826f7380577049199b80ea
change-id: 20240422-fix_poe-d0fb292c9d8e
Best regards,
Signature · 3 lines
K�ry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com
Kory Maincent
maintainerPATCH v3 1/3 net: pse-pd: pse_core: Add missing kdoc return description
From: Kory Maincent (Dent Project) <[email protected]>
Add missing kernel documentation return description. This allows to remove all warning from kernel-doc test script.
--- drivers/net/pse-pd/pse_core.c | 8 ++++++++ 1 file changed, 8 insertions(+)
drivers/net/pse-pd/pse_core.c +8 -0
@@ -320,6 +320,8 @@ devm_pse_pi_regulator_register(struct pse_controller_dev *pcdev,/** * pse_controller_register - register a PSE controller device * @pcdev: a pointer to the initialized PSE controller device +* +* Return: 0 on success and failure value on error */ int pse_controller_register (struct pse_controller_dev *pcdev) {
@@ -401,6 +403,8 @@ static void devm_pse_controller_release(struct device *dev, void *res)* Managed pse_controller_register(). For PSE controllers registered by * this function, pse_controller_unregister() is automatically called on * driver detach. See pse_controller_register() for more information. +* +* Return: 0 on success and failure value on error */ int devm_pse_controller_register (struct device *dev,struct pse_controller_dev *pcdev)
@@ -627,6 +631,8 @@ EXPORT_SYMBOL_GPL(of_pse_control_get);* @psec: PSE control pointer * @extack: extack for reporting useful error messages * @status: struct to store PSE status +* +* Return: 0 on success and failure value on error */ int pse_ethtool_get_status(struct pse_control *psec, struct netlink_ext_ack *extack,
@@ -704,6 +710,8 @@ static int pse_ethtool_podl_set_config(struct pse_control *psec,* @psec: PSE control pointer * @extack: extack for reporting useful error messages * @config: Configuration of the test to run +* +* Return: 0 on success and failure value on error */ int pse_ethtool_set_config(struct pse_control *psec, struct netlink_ext_ack *extack,
Signature · 1 line
2.34.1
Re: [PATCH net-next v3 1/3] net: pse-pd: pse_core: Add missing kdoc return description
This series was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This series was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 10 lines · On Tue, 23 Apr 2024 11:21:10 +0200 you wrote:
From: Kory Maincent (Dent Project) <[email protected]>
Add missing kernel documentation return description. This allows to remove all warning from kernel-doc test script.
Reviewed-by Andrew Lunn <[email protected]>Acked-by Oleksij Rempel <[email protected]>Signed-off-by Kory Maincent <[email protected]>[...]
Here is the summary with links:
- [net-next,v3,1/3] net: pse-pd: pse_core: Add missing kdoc return description
https://git.kernel.org/netdev/net-next/c/fb1676ed7114 - [net-next,v3,2/3] net: pse-pd: pse_core: Fix pse regulator type https://git.kernel.org/netdev/net-next/c/326f442784c2 - [net-next,v3,3/3] net: pse-pd: Kconfig: Add missing Regulator API dependency https://git.kernel.org/netdev/net-next/c/2fa809b90617
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
Kory Maincent
maintainerPATCH v3 2/3 net: pse-pd: pse_core: Fix pse regulator type
In reply to Kory MaincentFrom: Kory Maincent (Dent Project) <[email protected]>
Clarify PSE regulator as voltage regulator, not current.
The PSE (Power Sourcing Equipment) regulator is defined as a voltage regulator, maintaining fixed voltage while accommodating varying current.
---
Change in v3:
- Add a missing Fixes tag.
--- drivers/net/pse-pd/pse_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/pse-pd/pse_core.c +1 -1
@@ -294,7 +294,7 @@ devm_pse_pi_regulator_register(struct pse_controller_dev *pcdev,*/ rdesc->id = id; rdesc->name = name; - rdesc->type =REGULATOR_CURRENT ; + rdesc->type =REGULATOR_VOLTAGE ; rdesc->ops = &pse_pi_ops; rdesc->owner = pcdev->owner;
Signature · 1 line
2.34.1
Kory Maincent
maintainerPATCH v3 3/3 net: pse-pd: Kconfig: Add missing Regulator API dependency
In reply to Kory MaincentFrom: Kory Maincent (Dent Project) <[email protected]>
The PSE (Power Sourcing Equipment) API now relies on the Regulator API. However, the Regulator dependency was missing from Kconfig. This patch adds the necessary dependency, resolving the issue of the missing dependency and ensuring proper functionality of the PSE API.
--- drivers/net/pse-pd/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/pse-pd/Kconfig +1 -1
@@ -5,6 +5,7 @@ menuconfig PSE_CONTROLLER bool "Ethernet Power Sourcing Equipment Support" + depends on REGULATOR help Generic Power Sourcing Equipment Controller support.
@@ -14,7 +15,6 @@ if PSE_CONTROLLER config PSE_REGULATOR tristate "Regulator based PSE controller" - depends on REGULATOR || COMPILE_TEST help This module provides support for simple regulator based Ethernet Power Sourcing Equipment without automatic classification support. For
Signature · 1 line
2.34.1
Quoted 6 lines · Tue, Apr 23, 2024 at 11:21:09AM CEST, [email protected] wrote:
From: Kory Maincent (Dent Project) <[email protected]>
This patch series fix few issues in PSE net subsystem like Regulator dependency, PSE regulator type and kernel Documentation.
Signed-off-by Kory Maincent <[email protected]>
set-
Kory Maincent
maintainerQuoted 10 lines · On Tue, 23 Apr 2024 13:28:00 +0200 Jiri Pirko <[email protected]> wrote:
Quoted 6 lines · Tue, Apr 23, 2024 at 11:21:09AM CEST, [email protected] wrote:
From: Kory Maincent (Dent Project) <[email protected]>
This patch series fix few issues in PSE net subsystem like Regulator dependency, PSE regulator type and kernel Documentation.
Signed-off-by Kory Maincent <[email protected]>set-
Reviewed-by Jiri Pirko <[email protected]>
Your reviewed-by tag has not been taken in the commit merged. It seems patchwork does not take the cover letter tag reply into account, I think only b4 does.
Regards,
Signature · 3 lines
Köry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com
Jakub Kicinski
maintainerQuoted 3 lines · On Thu, 25 Apr 2024 10:31:10 +0200 Kory Maincent wrote:
Your reviewed-by tag has not been taken in the commit merged. It seems patchwork does not take the cover letter tag reply into account, I think only b4 does.
Sorry about that.
The problem is that patchwork doesn't correctly group the cover letter in your postings. Not sure why.
Could you experiment with tweaking the posting?
Maybe we can "bisect" the problem.
Kory Maincent
maintainerQuoted 8 lines · On Thu, 25 Apr 2024 07:06:19 -0700 Jakub Kicinski <[email protected]> wrote:
Quoted 3 lines · On Thu, 25 Apr 2024 10:31:10 +0200 Kory Maincent wrote:
Your reviewed-by tag has not been taken in the commit merged. It seems patchwork does not take the cover letter tag reply into account, I think only b4 does.
Sorry about that.
The problem is that patchwork doesn't correctly group the cover letter in your postings. Not sure why.
Weird, I used b4 so it should work.
Quoted 2 lines
Could you experiment with tweaking the posting?
Maybe we can "bisect" the problem.
Do you want me to like post a v5 with the "pw-bot: cr" tag? But if I put the tag only on the cover letter it won't work then. Maybe on all patches? Was it the same for the PoE support patch series?
If so, we could look at it with my future patch series that will bring new features to PoE.
Regards,
Signature · 3 lines
Köry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com
Jakub Kicinski
maintainerQuoted 6 lines · On Thu, 25 Apr 2024 16:30:02 +0200 Kory Maincent wrote:
Quoted 2 lines
Could you experiment with tweaking the posting?
Maybe we can "bisect" the problem.Do you want me to like post a v5 with the "pw-bot: cr" tag? But if I put the tag only on the cover letter it won't work then.
Maybe on all patches?
Probably not worth posting for a test. I'll try to be more careful when applying in the future, we can experiment with real postings.
Quoted 1 line
Was it the same for the PoE support patch series?
Yeah, I had to apply that one manually.
Quoted 2 lines
If so, we could look at it with my future patch series that will bring new features to PoE.
👍️
Kory Maincent
maintainerQuoted 8 lines · On Thu, 25 Apr 2024 07:42:05 -0700 Jakub Kicinski <[email protected]> wrote:
Quoted 6 lines · On Thu, 25 Apr 2024 16:30:02 +0200 Kory Maincent wrote:
Quoted 2 lines
Could you experiment with tweaking the posting?
Maybe we can "bisect" the problem.Do you want me to like post a v5 with the "pw-bot: cr" tag? But if I put the tag only on the cover letter it won't work then.
Maybe on all patches?
Quoted 6 lines
Probably not worth posting for a test. I'll try to be more careful when applying in the future, we can experiment with real postings.
Quoted 1 line
Was it the same for the PoE support patch series?
Yeah, I had to apply that one manually.
Mmh that's annoying.
Thanks for the information.
Regards,
Signature · 3 lines
Köry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com
Kory Maincent
maintainerQuoted 8 lines · On Thu, 25 Apr 2024 07:42:05 -0700 Jakub Kicinski <[email protected]> wrote:
Quoted 6 lines · On Thu, 25 Apr 2024 16:30:02 +0200 Kory Maincent wrote:
Quoted 2 lines
Could you experiment with tweaking the posting?
Maybe we can "bisect" the problem.Do you want me to like post a v5 with the "pw-bot: cr" tag? But if I put the tag only on the cover letter it won't work then.
Maybe on all patches?
Quoted 6 lines
Probably not worth posting for a test. I'll try to be more careful when applying in the future, we can experiment with real postings.
Quoted 1 line
Was it the same for the PoE support patch series?
Yeah, I had to apply that one manually.
Does this patch series is on the same state?
https://lore.kernel.org/netdev/[email protected]/
Regards,
Signature · 3 lines
Köry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com
Jakub Kicinski
maintainerQuoted 8 lines · On Thu, 25 Apr 2024 16:57:08 +0200 Kory Maincent wrote:
On Thu, 25 Apr 2024 07:42:05 -0700
Quoted 7 lines
Quoted 3 lines
Do you want me to like post a v5 with the "pw-bot: cr" tag? But if I put the tag only on the cover letter it won't work then.
Maybe on all patches?Probably not worth posting for a test. I'll try to be more careful when applying in the future, we can experiment with real postings.
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Was it the same for the PoE support patch series?
Yeah, I had to apply that one manually.
Does this patch series is on the same state?
https://lore.kernel.org/netdev/[email protected]/
That one was fine:
https://patchwork.kernel.org/project/netdevbpf/cover/[email protected]/
Are you thinking it's the extra From in the cover letter?
Kory Maincent
maintainerQuoted 17 lines · On Thu, 25 Apr 2024 08:07:24 -0700 Jakub Kicinski <[email protected]> wrote:
Quoted 8 lines · On Thu, 25 Apr 2024 16:57:08 +0200 Kory Maincent wrote:
On Thu, 25 Apr 2024 07:42:05 -0700
Quoted 7 lines
Quoted 3 lines
Do you want me to like post a v5 with the "pw-bot: cr" tag? But if I put the tag only on the cover letter it won't work then. Maybe on all patches?
Probably not worth posting for a test. I'll try to be more careful when applying in the future, we can experiment with real postings.
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
Was it the same for the PoE support patch series?
Yeah, I had to apply that one manually.
Does this patch series is on the same state?
https://lore.kernel.org/netdev/[email protected]/
Quoted 5 lines
That one was fine:
https://patchwork.kernel.org/project/netdevbpf/cover/[email protected]/
Are you thinking it's the extra From in the cover letter?
Maybe or some patches between b4 version 0.13.0 and 0.14-dev. I will try next time without my extra From b4 patch to test 0.14-dev.
Regards,
Signature · 3 lines
Köry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com
Jakub Kicinski
maintainerQuoted 8 lines · On Thu, 25 Apr 2024 19:04:26 +0200 Kory Maincent wrote:
Quoted 5 lines
That one was fine:
https://patchwork.kernel.org/project/netdevbpf/cover/[email protected]/
Are you thinking it's the extra From in the cover letter?
Maybe or some patches between b4 version 0.13.0 and 0.14-dev. I will try next time without my extra From b4 patch to test 0.14-dev.
Another random thought is that some people put the name in quotes if it contains non-trivial chars, so may be worth trying with:
From: "Kory Maincent (Dent Project)" <[email protected]>
Kory Maincent
maintainerQuoted 7 lines · On Thu, 25 Apr 2024 10:15:11 -0700 Jakub Kicinski <[email protected]> wrote:
Quoted 6 lines · On Thu, 25 Apr 2024 19:04:26 +0200 Kory Maincent wrote:
Quoted 5 lines
That one was fine:
https://patchwork.kernel.org/project/netdevbpf/cover/[email protected]/
Are you thinking it's the extra From in the cover letter?
Quoted 7 lines
Quoted 2 lines
Maybe or some patches between b4 version 0.13.0 and 0.14-dev. I will try next time without my extra From b4 patch to test 0.14-dev.
Another random thought is that some people put the name in quotes if it contains non-trivial chars, so may be worth trying with:
From: "Kory Maincent (Dent Project)" <[email protected]>
Ok, I will try also with quotes.
Regards,
Signature · 3 lines
Köry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com