diff options
| author | Guo Zhengkui <[email protected]> | 2022-05-11 20:05:55 +0800 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-06-08 04:48:24 -0400 |
| commit | 5d9cd8b55cdc0fa2260bebab590430c8f90ce955 (patch) | |
| tree | a1172f6a07a73c9323a1c9067579d3eb11b3dd1a /tools/perf/scripts/python/bin | |
| parent | cf8e55fe50df0c0292b389a165daa81193cd39d1 (diff) | |
selftests: kvm: replace ternary operator with min()
Fix the following coccicheck warnings:
tools/testing/selftests/kvm/lib/s390x/ucall.c:25:15-17: WARNING
opportunity for min()
tools/testing/selftests/kvm/lib/x86_64/ucall.c:27:15-17: WARNING
opportunity for min()
tools/testing/selftests/kvm/lib/riscv/ucall.c:56:15-17: WARNING
opportunity for min()
tools/testing/selftests/kvm/lib/aarch64/ucall.c:82:15-17: WARNING
opportunity for min()
tools/testing/selftests/kvm/lib/aarch64/ucall.c:55:20-21: WARNING
opportunity for min()
min() is defined in tools/include/linux/kernel.h.
Signed-off-by: Guo Zhengkui <[email protected]>
Acked-by: Claudio Imbrenda <[email protected]>
Acked-by: Anup Patel <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions