Re: [PATCH 0/2] clk: meson: fix protection against undefined clks

2017-07-28 Thread Neil Armstrong
On 07/27/2017 06:17 PM, Jerome Brunet wrote: > If the last clkids defined have no hw pointer associated with them in > the hw_onecell_data array, the initialization is going to crash badly > because the array is not big enough. > > The patchset makes sure the array is big enough, and that each

Re: [PATCH 0/2] clk: meson: fix protection against undefined clks

2017-07-28 Thread Neil Armstrong
On 07/27/2017 06:17 PM, Jerome Brunet wrote: > If the last clkids defined have no hw pointer associated with them in > the hw_onecell_data array, the initialization is going to crash badly > because the array is not big enough. > > The patchset makes sure the array is big enough, and that each

[PATCH 0/2] clk: meson: fix protection against undefined clks

2017-07-27 Thread Jerome Brunet
If the last clkids defined have no hw pointer associated with them in the hw_onecell_data array, the initialization is going to crash badly because the array is not big enough. The patchset makes sure the array is big enough, and that each clkid is associated with a valid hw pointer, or NULL.

[PATCH 0/2] clk: meson: fix protection against undefined clks

2017-07-27 Thread Jerome Brunet
If the last clkids defined have no hw pointer associated with them in the hw_onecell_data array, the initialization is going to crash badly because the array is not big enough. The patchset makes sure the array is big enough, and that each clkid is associated with a valid hw pointer, or NULL.