]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: pse-pd: Use EOPNOTSUPP error code instead of ENOTSUPP
authorKory Maincent <kory.maincent@bootlin.com>
Mon, 10 Jun 2024 08:34:26 +0000 (10:34 +0200)
committerRoxana Nicolescu <roxana.nicolescu@canonical.com>
Fri, 2 Aug 2024 14:26:55 +0000 (16:26 +0200)
commit850d946939f14562fd856951fee6343681357dc5
treeb060e8371ce2a2bd9ef03afe4fba31b556d37140
parent5d843417d8aa589bcea2da14473e91303cf74b6d
net: pse-pd: Use EOPNOTSUPP error code instead of ENOTSUPP

BugLink: https://bugs.launchpad.net/bugs/2074091
[ Upstream commit 144ba8580bcb82b2686c3d1a043299d844b9a682 ]

ENOTSUPP is not a SUSV4 error code, prefer EOPNOTSUPP as reported by
checkpatch script.

Fixes: 18ff0bcda6d1 ("ethtool: add interface to interact with Ethernet Power Equipment")
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Link: https://lore.kernel.org/r/20240610083426.740660-1-kory.maincent@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Portia Stephens <portia.stephens@canonical.com>
Signed-off-by: Roxana Nicolescu <roxana.nicolescu@canonical.com>
include/linux/pse-pd/pse.h