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)
commit64ffd86cf9c1b5d7febcb9dfbd415d886fa76451
treedf9bade50d511022607f5664010936a2c3b0a933
parentabfc4459c99d2c87e11f2cd67f8c069a03cfe143
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