Re: [PATCH 01/22] clk: check hw and hw->dev before dereference it

2020-08-04 Thread Claudiu.Beznea
On 04.08.2020 18:29, Simon Glass wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > Hi Claudiu, > > On Tue, 4 Aug 2020 at 09:25, wrote: >> >> Hi Simon, >> >> On 04.08.2020 18:08, Simon Glass wrote: >>> EXTERNAL EMAIL: Do not click links

Re: [PATCH 01/22] clk: check hw and hw->dev before dereference it

2020-08-04 Thread Claudiu.Beznea
Hi Simon, On 04.08.2020 18:08, Simon Glass wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > Hi Claudiu, > > On Tue, 4 Aug 2020 at 01:19, wrote: >> >> >> >> On 04.08.2020 05:00, Simon Glass wrote: >>> EXTERNAL EMAIL: Do not click links

Re: [PATCH 01/22] clk: check hw and hw->dev before dereference it

2020-08-04 Thread Simon Glass
Hi Claudiu, On Tue, 4 Aug 2020 at 09:25, wrote: > > Hi Simon, > > On 04.08.2020 18:08, Simon Glass wrote: > > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > > content is safe > > > > Hi Claudiu, > > > > On Tue, 4 Aug 2020 at 01:19, wrote: > >> > >> > >> > >> On

Re: [PATCH 01/22] clk: check hw and hw->dev before dereference it

2020-08-04 Thread Simon Glass
Hi Claudiu, On Tue, 4 Aug 2020 at 01:19, wrote: > > > > On 04.08.2020 05:00, Simon Glass wrote: > > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > > content is safe > > > > Hi Claudiu, > > > > On Wed, 29 Jul 2020 at 08:51, Claudiu Beznea > > wrote: > >> > >> Check

Re: [PATCH 01/22] clk: check hw and hw->dev before dereference it

2020-08-04 Thread Claudiu.Beznea
On 04.08.2020 05:00, Simon Glass wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > Hi Claudiu, > > On Wed, 29 Jul 2020 at 08:51, Claudiu Beznea > wrote: >> >> Check hw and hw->dev before dereference it. >> >> Signed-off-by: Claudiu

Re: [PATCH 01/22] clk: check hw and hw->dev before dereference it

2020-08-03 Thread Simon Glass
Hi Claudiu, On Wed, 29 Jul 2020 at 08:51, Claudiu Beznea wrote: > > Check hw and hw->dev before dereference it. > > Signed-off-by: Claudiu Beznea > --- > drivers/clk/clk.c | 3 +++ > 1 file changed, 3 insertions(+) > Why is this needed? It adds to code size and these situations should not

[PATCH 01/22] clk: check hw and hw->dev before dereference it

2020-07-29 Thread Claudiu Beznea
Check hw and hw->dev before dereference it. Signed-off-by: Claudiu Beznea --- drivers/clk/clk.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index 0f55ba751c0f..9fa18e342eaf 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -57,6 +57,9 @@