This patch fixes duplicate cache names.

Signed-off-by: Narsimhulu Musini <nmus...@cisco.com>
---
 drivers/scsi/snic/snic_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/snic/snic_main.c b/drivers/scsi/snic/snic_main.c
index b2b87ce..47ed593 100644
--- a/drivers/scsi/snic/snic_main.c
+++ b/drivers/scsi/snic/snic_main.c
@@ -919,7 +919,7 @@ snic_global_data_init(void)
        snic_glob->req_cache[SNIC_REQ_CACHE_MAX_SGL] = cachep;
 
        len = sizeof(struct snic_host_req);
-       cachep = kmem_cache_create("snic_req_maxsgl", len, SNIC_SG_DESC_ALIGN,
+       cachep = kmem_cache_create("snic_tm_req", len, SNIC_SG_DESC_ALIGN,
                                   SLAB_HWCACHE_ALIGN, NULL);
        if (!cachep) {
                SNIC_ERR("Failed to create snic tm req slab\n");
-- 
1.8.5.4

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to