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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 at sntech.de>
> ---

Applied to clk-rk3368

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux