]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net/mlx5: unique names for per device caches
authorSebastian Ott <sebott@redhat.com>
Wed, 23 Oct 2024 13:41:46 +0000 (15:41 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2024 19:04:15 +0000 (20:04 +0100)
commit871caea15202cc0ee9fcf0bd11b2e846a8bacdbc
treefd3eecfeff0d84a1c8eaef352183ed70184fccd8
parent81d2c5968dba33ccc6e3aee8b2c0cf07c03ba3e1
net/mlx5: unique names for per device caches

commit 25872a079bbbe952eb660249cc9f40fa75623e68 upstream.

Add the device name to the per device kmem_cache names to
ensure their uniqueness. This fixes warnings like this:
"kmem_cache of name 'mlx5_fs_fgs' already exists".

Signed-off-by: Sebastian Ott <sebott@redhat.com>
Reviewed-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20241023134146.28448-1-sebott@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Matt Fleming <mfleming@cloudflare.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c