]> git.baikalelectronics.ru Git - kernel.git/commit
staging/rdma/hfi1: Add unit # to verbs txreq cache name
authorJubin John <jubin.john@intel.com>
Mon, 26 Oct 2015 14:28:47 +0000 (10:28 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Oct 2015 08:45:51 +0000 (17:45 +0900)
commit732bfa76f9c72a022d1dd19cd04a95d56fd862f0
treedf9bade50d511022607f5664010936a2c3b0a933
parentdab39fa7cfa13f3cb531a9175d116c1a43568cee
staging/rdma/hfi1: Add unit # to verbs txreq cache name

The name used to create the verbs txreq cache was not qualified with the unit
number. This causes a panic when destroying the cache on a dual HFI systems.
Create a unique name with the unit number with this patch

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rdma/hfi1/verbs.c