]> www.infradead.org Git - users/jedix/linux-maple.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)
committerJakub Kicinski <kuba@kernel.org>
Tue, 29 Oct 2024 00:33:36 +0000 (17:33 -0700)
commit25872a079bbbe952eb660249cc9f40fa75623e68
treeb83384d78d6f325517eff87afa692fd8a7fd8f68
parentc7cf3e928e636332489228510c5d0e56ef06a6d5
net/mlx5: unique names for per device caches

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>
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c