Re: [uml-devel] [PATCH 1/2] um: vector: Fix a memory allocation check

2018-01-27 Thread Anton Ivanov
Thanks, looks correct, +1 Richard, can you add it to the next pull. Thanks in advance, A. On 27/01/18 10:53, Christophe JAILLET wrote: > Checking the result of the previous 'kstrdup()' call is expected here, so > we should test 'params' and not 'str' (which is known to be non-NULL at > this poi

[uml-devel] [PATCH 1/2] um: vector: Fix a memory allocation check

2018-01-27 Thread Christophe JAILLET
Checking the result of the previous 'kstrdup()' call is expected here, so we should test 'params' and not 'str' (which is known to be non-NULL at this point) Fixes: ad1f62ab2bd4 ("High Performance UML Vector Network Driver") Signed-off-by: Christophe JAILLET --- arch/um/drivers/vector_kern.c | 2