aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ice/ice_main.c
diff options
context:
space:
mode:
authorJiri Pirko <[email protected]>2019-05-23 10:43:35 +0200
committerDavid S. Miller <[email protected]>2019-05-23 09:18:43 -0700
commit136bf27fc0e9376525b9b6d9a1aa08508a0d1ac2 (patch)
tree2b0252bae47159bb0641b855f377064b0ec7a8d8 /drivers/net/ethernet/intel/ice/ice_main.c
parent14a1eaa8820e8f3715f0cb3c1790edab67a751e9 (diff)
devlink: add warning in case driver does not set port type
Prevent misbehavior of drivers who would not set port type for longer period of time. Drivers should always set port type. Do WARN if that happens. Note that it is perfectly fine to temporarily not have the type set, during initialization and port type change. Signed-off-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions