]> git.baikalelectronics.ru Git - kernel.git/commit
staging/rdma/hfi1: Select only devices with active links
authorDean Luick <dean.luick@intel.com>
Sat, 7 Nov 2015 01:07:01 +0000 (20:07 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
commit92f0e6e9525e9aa40c4a4b71f34ebb990ca201ef
tree4dbce7d9697907adc957e76022ddeb750e3a6768
parent534521adbafb5da444a28b1cbab777e30391292c
staging/rdma/hfi1: Select only devices with active links

When looking for or validating a user device, only use devices
that are currently active.

Reviewed-by: Mitko Haralanov <mitko.haralanov@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rdma/hfi1/file_ops.c