Re: [PATCH 03/19] sandbox: cros_ec: Only write EC state when the EC is probed

2021-03-26 Thread Simon Glass
Hi Heinrich, On Mon, 15 Mar 2021 at 23:58, Heinrich Schuchardt wrote: > > On 3/15/21 6:11 AM, Simon Glass wrote: > > This can crash if the EC has not yet been probed. Add a check to prevent > > What does 'This' relate to? There seems a sentence to missing from the > commit message. It refers to

Re: [PATCH 03/19] sandbox: cros_ec: Only write EC state when the EC is probed

2021-03-15 Thread Simon Glass
Hi Heinrich, On Mon, 15 Mar 2021 at 23:58, Heinrich Schuchardt wrote: > > On 3/15/21 6:11 AM, Simon Glass wrote: > > This can crash if the EC has not yet been probed. Add a check to prevent > > What does 'This' relate to? There seems a sentence to missing from the > commit message. It refers to

Re: [PATCH 03/19] sandbox: cros_ec: Only write EC state when the EC is probed

2021-03-15 Thread Heinrich Schuchardt
On 3/15/21 6:11 AM, Simon Glass wrote: This can crash if the EC has not yet been probed. Add a check to prevent What does 'This' relate to? There seems a sentence to missing from the commit message. Best regards Heinrich this. Signed-off-by: Simon Glass --- drivers/misc/cros_ec_sandbox

[PATCH 03/19] sandbox: cros_ec: Only write EC state when the EC is probed

2021-03-14 Thread Simon Glass
This can crash if the EC has not yet been probed. Add a check to prevent this. Signed-off-by: Simon Glass --- drivers/misc/cros_ec_sandbox.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/misc/cros_ec_sandbox.c b/drivers/misc/cros_ec_sandbox.c index cb8adc4495a..bc01df0904e 100