]> Git Repo - linux.git/commit
net: pse-pd: Do not return EOPNOSUPP if config is null
authorKory Maincent <[email protected]>
Thu, 11 Jul 2024 13:55:18 +0000 (15:55 +0200)
committerJakub Kicinski <[email protected]>
Sun, 14 Jul 2024 14:16:18 +0000 (07:16 -0700)
commit93c3a96c301f0b1ac0bafb5e74bef58e79937648
tree56fae80c7272923fbd9eace6f2aad3d26af6a3a9
parent70c676cb3dfcc75e32eaf0e98eba6814ebfc6af6
net: pse-pd: Do not return EOPNOSUPP if config is null

For a PSE supporting both c33 and PoDL, setting config for one type of PoE
leaves the other type's config null. Currently, this case returns
EOPNOTSUPP, which is incorrect. Instead, we should do nothing if the
configuration is empty.

Signed-off-by: Kory Maincent <[email protected]>
Fixes: d83e13761d5b ("net: pse-pd: Use regulator framework within PSE framework")
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
drivers/net/pse-pd/pse_core.c
net/ethtool/pse-pd.c
This page took 0.054855 seconds and 4 git commands to generate.