Thread (15 messages) 15 messages, 2 authors, 2015-07-02

[PATCH v2 3/9] clk: rockchip: protect register macros against multipart values

From: Stephen Boyd <hidden>
Date: 2015-07-02 22:51:43
Also in: linux-clk, linux-rockchip

On 06/18, Heiko Stuebner wrote:
The macros calculate the correct offset from the id in the parameter.
If this parameter does not consist of a single number, the calculation
will return wrong registers in the best case or create unaligned accesses
in the worst case. So protect the calculations against such values.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
Applied to clk-rk3368

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help