diff options
author | Zhiyuan Dai <daizhiyuan@phytium.com.cn> | 2021-02-04 09:43:49 +0800 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2021-02-04 13:59:49 +0000 |
commit | d9f1b52afa4012974b3c726ca89ae311f194e83f (patch) | |
tree | 19f406392023e6dd7928c49ae68da91a6ee5d35a /arch/arm64/kernel/perf_event.c | |
parent | 19c329f6808995b142b3966301f217c831e7cf31 (diff) | |
download | lwn-d9f1b52afa4012974b3c726ca89ae311f194e83f.tar.gz lwn-d9f1b52afa4012974b3c726ca89ae311f194e83f.zip |
arm64: improve whitespace
In a few places we don't have whitespace between macro parameters,
which makes them hard to read. This patch adds whitespace to clearly
separate the parameters.
In a few places we have unnecessary whitespace around unary operators,
which is confusing, This patch removes the unnecessary whitespace.
Signed-off-by: Zhiyuan Dai <daizhiyuan@phytium.com.cn>
Link: https://lore.kernel.org/r/1612403029-5011-1-git-send-email-daizhiyuan@phytium.com.cn
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/kernel/perf_event.c')
-rw-r--r-- | arch/arm64/kernel/perf_event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/perf_event.c b/arch/arm64/kernel/perf_event.c index 3605f77ad4df..d1fec4ab4bcf 100644 --- a/arch/arm64/kernel/perf_event.c +++ b/arch/arm64/kernel/perf_event.c @@ -810,7 +810,7 @@ static int armv8pmu_get_single_idx(struct pmu_hw_events *cpuc, { int idx; - for (idx = ARMV8_IDX_COUNTER0; idx < cpu_pmu->num_events; idx ++) { + for (idx = ARMV8_IDX_COUNTER0; idx < cpu_pmu->num_events; idx++) { if (!test_and_set_bit(idx, cpuc->used_mask)) return idx; } |