[dpdk-dev] [PATCH] eal: Fix wrong error checking of rte_eal_parse_devargs_str()

2016-06-16 Thread Tetsuya Mukawa
On 2016/06/15 23:48, David Marchand wrote: > On Wed, Jun 15, 2016 at 5:26 AM, Tetsuya Mukawa wrote: >> Currently, a return value of strdup() isn't checked correctly. >> The patch fixes it. >> >> Signed-off-by: Tetsuya Mukawa > > Idem, the title does not need the function name to describe what

[dpdk-dev] [PATCH] eal: Fix wrong error checking of rte_eal_parse_devargs_str()

2016-06-15 Thread David Marchand
On Wed, Jun 15, 2016 at 5:26 AM, Tetsuya Mukawa wrote: > Currently, a return value of strdup() isn't checked correctly. > The patch fixes it. > > Signed-off-by: Tetsuya Mukawa Idem, the title does not need the function name to describe what is going wrong. This might deserve a fixline, I

[dpdk-dev] [PATCH] eal: Fix wrong error checking of rte_eal_parse_devargs_str()

2016-06-15 Thread Tetsuya Mukawa
Currently, a return value of strdup() isn't checked correctly. The patch fixes it. Signed-off-by: Tetsuya Mukawa --- lib/librte_eal/common/eal_common_devargs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_eal/common/eal_common_devargs.c