[U-Boot] [PATCH 01/22] dm: i2c: Add a missing memory allocaton check

2015-02-18 Thread Simon Glass
This strdup() is missing a check. Add it. Signed-off-by: Simon Glass --- drivers/i2c/i2c-uclass.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/i2c/i2c-uclass.c b/drivers/i2c/i2c-uclass.c index a6991bf..b890806 100644 --- a/drivers/i2c/i2c-uclass.c +++ b/drivers/i2c/i2c-uclass.c

Re: [U-Boot] [PATCH 01/22] dm: i2c: Add a missing memory allocaton check

2015-02-18 Thread Heiko Schocher
Hello Simon, Am 18.02.2015 22:10, schrieb Simon Glass: This strdup() is missing a check. Add it. Signed-off-by: Simon Glass --- drivers/i2c/i2c-uclass.c | 2 ++ 1 file changed, 2 insertions(+) Good catch, Thanks! Acked-by: Heiko Schocher bye, Heiko diff --git a/drivers/i2c/i2c-uclas

Re: [U-Boot] [PATCH 01/22] dm: i2c: Add a missing memory allocaton check

2015-03-04 Thread Simon Glass
On 19 February 2015 at 00:41, Heiko Schocher wrote: > Hello Simon, > > Am 18.02.2015 22:10, schrieb Simon Glass: >> >> This strdup() is missing a check. Add it. >> >> Signed-off-by: Simon Glass >> --- >> >> drivers/i2c/i2c-uclass.c | 2 ++ >> 1 file changed, 2 insertions(+) > > > Good catch, T