projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eab0dce
)
scsi: snic: Avoid creating two slab caches with the same name
author
Pedro Falcato
<pedro.falcato@gmail.com>
Wed, 7 Aug 2024 09:57:09 +0000
(10:57 +0100)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Tue, 13 Aug 2024 01:37:48 +0000
(21:37 -0400)
In the spirit of [1], fix the copy-paste typo and use unique names for both
caches.
[1]: https://lore.kernel.org/all/
20240807090746
.
2146479
-1-pedro.falcato@gmail.com/
Signed-off-by: Pedro Falcato <pedro.falcato@gmail.com>
Link:
https://lore.kernel.org/r/20240807095709.2200728-1-pedro.falcato@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/snic/snic_main.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/snic/snic_main.c
b/drivers/scsi/snic/snic_main.c
index
cc824dc
..
abc7832
100644
(file)
--- a/
drivers/scsi/snic/snic_main.c
+++ b/
drivers/scsi/snic/snic_main.c
@@
-873,7
+873,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_req_
tm
", len, SNIC_SG_DESC_ALIGN,
SLAB_HWCACHE_ALIGN, NULL);
if (!cachep) {
SNIC_ERR("Failed to create snic tm req slab\n");