summaryrefslogtreecommitdiff
path: root/include/net/phy/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorKohei Enju <kohei@enjuk.jp>2026-02-01 14:14:00 +0000
committerTony Nguyen <anthony.l.nguyen@intel.com>2026-04-06 13:39:23 -0700
commitbb3f21edc7056cdf44a7f7bd7ba65af40741838c (patch)
tree7b68ee72c60b90bdc2e8790a05ec1e44770fea2a /include/net/phy/git@git.tavy.me:linux-stable.git
parent8e2a2420e267a515f6db56a6e9570b5cacd92919 (diff)
ice: ptp: don't WARN when controlling PF is unavailable
In VFIO passthrough setups, it is possible to pass through only a PF which doesn't own the source timer. In that case the PTP controlling PF (adapter->ctrl_pf) is never initialized in the VM, so ice_get_ctrl_ptp() returns NULL and triggers WARN_ON() in ice_ptp_setup_pf(). Since this is an expected behavior in that configuration, replace WARN_ON() with an informational message and return -EOPNOTSUPP. Fixes: e800654e85b5 ("ice: Use ice_adapter for PTP shared data instead of auxdev") Signed-off-by: Kohei Enju <kohei@enjuk.jp> Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'include/net/phy/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions