Re: [PATCH 3/6] clk: Fix error handling in clk_get_parent()

2023-03-04 Thread Sean Anderson
On 3/4/23 15:46, Michal Suchánek wrote: On Sat, Mar 04, 2023 at 01:58:17PM -0600, Samuel Holland wrote: On 2/20/23 04:39, Michal Suchánek wrote: On Sun, Feb 19, 2023 at 11:59:36PM -0600, Samuel Holland wrote: Do not return both NULL and error pointers. The function is only documented as

Re: [PATCH 3/6] clk: Fix error handling in clk_get_parent()

2023-03-04 Thread Michal Suchánek
On Sat, Mar 04, 2023 at 01:58:17PM -0600, Samuel Holland wrote: > On 2/20/23 04:39, Michal Suchánek wrote: > > On Sun, Feb 19, 2023 at 11:59:36PM -0600, Samuel Holland wrote: > >> Do not return both NULL and error pointers. The function is only > >> documented as returning error pointers. > >> >

Re: [PATCH 3/6] clk: Fix error handling in clk_get_parent()

2023-03-04 Thread Samuel Holland
On 2/20/23 04:39, Michal Suchánek wrote: > On Sun, Feb 19, 2023 at 11:59:36PM -0600, Samuel Holland wrote: >> Do not return both NULL and error pointers. The function is only >> documented as returning error pointers. >> >> Fixes: 8a1661f20e6c ("drivers: clk: Handle gracefully NULL pointers") >>

Re: [PATCH 3/6] clk: Fix error handling in clk_get_parent()

2023-02-20 Thread Michal Suchánek
On Sun, Feb 19, 2023 at 11:59:36PM -0600, Samuel Holland wrote: > Do not return both NULL and error pointers. The function is only > documented as returning error pointers. > > Fixes: 8a1661f20e6c ("drivers: clk: Handle gracefully NULL pointers") > Signed-off-by: Samuel Holland > --- > >

[PATCH 3/6] clk: Fix error handling in clk_get_parent()

2023-02-19 Thread Samuel Holland
Do not return both NULL and error pointers. The function is only documented as returning error pointers. Fixes: 8a1661f20e6c ("drivers: clk: Handle gracefully NULL pointers") Signed-off-by: Samuel Holland --- drivers/clk/clk-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff