diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2025-06-30 15:23:18 +0200 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-07-13 16:38:23 -0700 |
| commit | 11f45931ccfd14f2f3ca3cf9cafd0e9317e9008a (patch) | |
| tree | 0097b717b0d3d13e50f7e21680a5137e9fb4acad /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
| parent | 1c0841140b5bd09f03e568d4d9341c874c396511 (diff) | |
mm/cma: use str_plural() in cma_declare_contiguous_multi()
Use the string choice helper function str_plural() to simplify the code
and to fix the following Coccinelle/coccicheck warning reported by
string_choices.cocci:
opportunity for str_plural(nr)
Link: https://lkml.kernel.org/r/20250630132318.41339-2-thorsten.blum@linux.dev
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Dev Jain <dev.jain@arm.com>
Tested-by: Dev Jain <dev.jain@arm.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Acked-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions
