Skip to content

RFC phy: core: Use EOPNOTSUPP for disabled blob return value

Inochi Amaoto dri-devel linux-ide linux-phy linux-usb lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5phy: core: Use EOPNOTSUPP for disabled blob return valueinclude/linux/phy/phy.h+26 -264 replies
2/5ata: libahci_platform: Adapt the return value changed for disabled blobdrivers/ata/libahci_platform.c+2 -22 replies
3/5usb: dwc2: Adapt the return value changed for disabled blobdrivers/usb/dwc2/platform.c+1 -10 replies
4/5usb: dwc3: core: Adapt the return value changed for disabled blobdrivers/usb/dwc3/core.c+2 -22 replies
5/5drm: bridge: analogix/dp: Adapt the return value changed for disabled blobdrivers/gpu/drm/bridge/analogix/analogix_dp_core.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/5] phy: core: Use EOPNOTSUPP for disabled blob return value

Currently, the phy subsystem uses ENOSYS for dummy blob functions, it does not reflect the function state correctly. As kernel already has EOPNOTSUPP for disabled blob function, replace ENOSYS with EOPNOTSUPP for a clear return value.

Inochi Amaoto (5):
phy: core: Use EOPNOTSUPP for disabled blob return value
ata: libahci_platform: Adapt the return value changed for disabled
blob
usb: dwc2: Adapt the return value changed for disabled blob
usb: dwc3: core: Adapt the return value changed for disabled blob
drm: bridge: analogix/dp: Adapt the return value changed for disabled
blob

 drivers/ata/libahci_platform.c                |  4 +-
 .../drm/bridge/analogix/analogix_dp_core.c    |  2 +-
 drivers/usb/dwc2/platform.c                   |  2 +-
 drivers/usb/dwc3/core.c                       |  4 +-
 include/linux/phy/phy.h                       | 52 +++++++++----------
 5 files changed, 32 insertions(+), 32 deletions(-)

--
2.55.0