Re: [PATCH] clk: sunxi-ng: common: Don't call hw_to_ccu_common on hw without common

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

 



From: Chen-Yu Tsai <wens@xxxxxxxx>

On Sun, 23 Jun 2024 10:45:58 +0200, Frank Oltmanns wrote:
> In order to set the rate range of a hw sunxi_ccu_probe calls
> hw_to_ccu_common() assuming all entries in desc->ccu_clks are contained
> in a ccu_common struct. This assumption is incorrect and, in
> consequence, causes invalid pointer de-references.
> 
> Remove the faulty call. Instead, add one more loop that iterates over
> the ccu_clks and sets the rate range, if required.
> 
> [...]

Applied to clk-fixes-for-6.10 in git@xxxxxxxxxx:linux-sunxi/linux-sunxi.git, thanks!

[1/1] clk: sunxi-ng: common: Don't call hw_to_ccu_common on hw without common
      commit: ea977d742507e534d9fe4f4d74256f6b7f589338

Best regards,
-- 
Chen-Yu Tsai <wens@xxxxxxxx>




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux