summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/e1000e/e1000.h
diff options
context:
space:
mode:
authorParav Pandit <parav@nvidia.com>2024-01-29 22:10:59 +0300
committerJakub Kicinski <kuba@kernel.org>2024-01-31 05:32:41 +0300
commit1a89e24f8bfd3e3562d69709c9d9cd185ded869b (patch)
treecd8c94fad18d5a1ea745cf54b68ce9c0be5c684d /drivers/net/ethernet/intel/e1000e/e1000.h
parentf5c3eb4b7251baba5cd72c9e93920e710ac8194a (diff)
downloadlinux-1a89e24f8bfd3e3562d69709c9d9cd185ded869b.tar.xz
devlink: Fix referring to hw_addr attribute during state validation
When port function state change is requested, and when the driver does not support it, it refers to the hw address attribute instead of state attribute. Seems like a copy paste error. Fix it by referring to the port function state attribute. Fixes: c0bea69d1ca7 ("devlink: Validate port function request") Signed-off-by: Parav Pandit <parav@nvidia.com> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Link: https://lore.kernel.org/r/20240129191059.129030-1-parav@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/intel/e1000e/e1000.h')
0 files changed, 0 insertions, 0 deletions