]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource: sun4i: Wrap macros arguments in parenthesis
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 16 Jul 2013 14:45:37 +0000 (16:45 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 18 Jul 2013 13:27:13 +0000 (15:27 +0200)
commit1fcb0c1d839702317274e9b83f64c8a099719a04
tree2501d3e37f5097ded1e4e4bfca51b9f15c78f8dd
parentc2caba56c96cd82f77f43ba5f6c3fd1e15347f54
clocksource: sun4i: Wrap macros arguments in parenthesis

The macros were not using parenthesis to escape the arguments passed to
them. It is pretty unsafe, so add those parenthesis.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/sun4i_timer.c