[linux-sunxi] Re: [PATCH 08/11] clk: sunxi: improve error reporting for the mux clock

2016-02-02 Thread Andre Przywara
Salut, On 02/02/16 18:02, Maxime Ripard wrote: > On Mon, Feb 01, 2016 at 05:39:27PM +, Andre Przywara wrote: >> clk_register_mux returns a pointer wrapped error value in case of >> failure, so a simple NULL check is not sufficient to catch errors. >> Fix that and elaborate on the failure reaso

[linux-sunxi] Re: [PATCH 08/11] clk: sunxi: improve error reporting for the mux clock

2016-02-02 Thread Maxime Ripard
On Mon, Feb 01, 2016 at 05:39:27PM +, Andre Przywara wrote: > clk_register_mux returns a pointer wrapped error value in case of > failure, so a simple NULL check is not sufficient to catch errors. > Fix that and elaborate on the failure reason on the way. The whole > function does not return an