Skip to content
Commit 4a8d4bac authored by Anirudh Venkataramanan's avatar Anirudh Venkataramanan Committed by Yongxin Liu
Browse files

ice: Fix return value when SR-IOV is not supported



commit 039c60c5 upstream.

When the device is not capable of supporting SR-IOV -ENODEV is being
returned; -EOPNOTSUPP is more appropriate.

Signed-off-by: default avatarAnirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: default avatarYongxin Liu <yongxin.liu@windriver.com>
parent 03f4ea39
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment