]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iommu/amd: use str_plural() to simplify the code
authorXichao Zhao <zhao.xichao@vivo.com>
Mon, 18 Aug 2025 07:05:56 +0000 (15:05 +0800)
committerJoerg Roedel <joerg.roedel@amd.com>
Fri, 5 Sep 2025 12:25:32 +0000 (14:25 +0200)
commitd3d3b6042751ba2d21f6dc5fffc0b2c16b30ad3a
tree07e645e84f37c1324a1917b7dee701ca525d2913
parent8f5ae30d69d7543eee0d70083daf4de8fe15d585
iommu/amd: use str_plural() to simplify the code

Use the string choice helper function str_plural() to simplify the code.

Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>
Reviewed-by: Ankit Soni <Ankit.Soni@amd.com>
Link: https://lore.kernel.org/r/20250818070556.458271-1-zhao.xichao@vivo.com
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/amd/iommu.c