[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-arm] [PATCH v4 2/9] hw/timer/exynos4210_mct: Fix checkpatch style
From: |
Krzysztof Kozlowski |
Subject: |
[Qemu-arm] [PATCH v4 2/9] hw/timer/exynos4210_mct: Fix checkpatch style errors |
Date: |
Fri, 2 Jun 2017 18:36:11 +0200 |
Fix checkpatch errors:
1. ERROR: spaces required around that '+' (ctx:VxV)
2. ERROR: spaces required around that '&' (ctx:VxV)
No functional changes.
Signed-off-by: Krzysztof Kozlowski <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
---
hw/timer/exynos4210_mct.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/timer/exynos4210_mct.c b/hw/timer/exynos4210_mct.c
index a2ec3920f82e..2404fb737ac4 100644
--- a/hw/timer/exynos4210_mct.c
+++ b/hw/timer/exynos4210_mct.c
@@ -937,7 +937,7 @@ static void exynos4210_mct_update_freq(Exynos4210MCTState
*s)
{
uint32_t freq = s->freq;
s->freq = 24000000 /
- ((MCT_CFG_GET_PRESCALER(s->reg_mct_cfg)+1) *
+ ((MCT_CFG_GET_PRESCALER(s->reg_mct_cfg) + 1) *
MCT_CFG_GET_DIVIDER(s->reg_mct_cfg));
if (freq != s->freq) {
@@ -1162,7 +1162,7 @@ static void exynos4210_mct_write(void *opaque, hwaddr
offset,
DPRINTF("comparator %d write 0x%llx val << %d\n", index, value, shift);
- if (offset&0x4) {
+ if (offset & 0x4) {
s->g_timer.reg.wstat |= G_WSTAT_COMP_U(index);
} else {
s->g_timer.reg.wstat |= G_WSTAT_COMP_L(index);
--
2.9.3
- [Qemu-arm] [PATCH v4 0/9] hw: arm: exynos: Improvements and cleanups, Krzysztof Kozlowski, 2017/06/02
- [Qemu-arm] [PATCH v4 1/9] hw/intc/exynos4210_gic: Use more meaningful name for local variable, Krzysztof Kozlowski, 2017/06/02
- [Qemu-arm] [PATCH v4 2/9] hw/timer/exynos4210_mct: Fix checkpatch style errors,
Krzysztof Kozlowski <=
- [Qemu-arm] [PATCH v4 3/9] hw/timer/exynos4210_mct: Cleanup indentation and empty new lines, Krzysztof Kozlowski, 2017/06/02
- [Qemu-arm] [PATCH v4 4/9] hw/timer/exynos4210_mct: Remove unused defines, Krzysztof Kozlowski, 2017/06/02
- [Qemu-arm] [PATCH v4 6/9] hw/arm/exynos: Declare local variables in some order, Krzysztof Kozlowski, 2017/06/02
- [Qemu-arm] [PATCH v4 7/9] hw/arm/exynos: Use type define instead of hard-coded a9mpcore_priv string, Krzysztof Kozlowski, 2017/06/02
- [Qemu-arm] [PATCH v4 8/9] hw/intc/exynos4210_gic: Constify array of combiner interrupts, Krzysztof Kozlowski, 2017/06/02
- [Qemu-arm] [PATCH v4 5/9] hw/arm/exynos: Move DRAM initialization next boards, Krzysztof Kozlowski, 2017/06/02
- [Qemu-arm] [PATCH v4 9/9] hw/misc/exynos4210_pmu: Add support for system poweroff, Krzysztof Kozlowski, 2017/06/02