Loading
net/mlx5: unique names for per device caches
stable inclusion from stable-v6.6.70 commit d6616dcd87216e444dda10de1c84e5ecb8c510b1 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IBOHV1 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=d6616dcd87216e444dda10de1c84e5ecb8c510b1 -------------------------------- [ Upstream commit 25872a079bbbe952eb660249cc9f40fa75623e68 ] 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:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Wen Zhiwei <wenzhiwei@kylinos.cn>