summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorTadeusz Struk <tadeusz.struk@intel.com>2017-03-20 17:25:29 -0700
committerDoug Ledford <dledford@redhat.com>2017-04-05 14:45:09 -0400
commit5d6f08afdd394c0b162cefe383093aace3e94e39 (patch)
tree220243f80b329c9a83b7f57b87da2560b64805e8 /net/switchdev/switchdev.c
parent9260b3541f3a9159b6f49270077d8669870d5db0 (diff)
IB/hfi1: Check device id early during init
If there is a wrong device passed to the driver it should fail early, without trying to initialize the device only to find out that it has an invalid device later during the init. Reviewed-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions