[dpdk-dev] [PATCH v2] eal: Fix wrong error checking while parsing device arguments

2016-06-20 Thread Thomas Monjalon
2016-06-17 14:10, David Marchand: > On Thu, Jun 16, 2016 at 4:33 AM, Tetsuya Mukawa wrote: > > This patch fixes wrong error checking of rte_eal_parse_devargs_str(). > > Currently, a return value of strdup() is wrongly checked. > > > > Fixes: 0fe11ec592b2 ("eal: add vdev init and uninit") > > Signe

[dpdk-dev] [PATCH v2] eal: Fix wrong error checking while parsing device arguments

2016-06-17 Thread David Marchand
On Thu, Jun 16, 2016 at 4:33 AM, Tetsuya Mukawa wrote: > This patch fixes wrong error checking of rte_eal_parse_devargs_str(). > Currently, a return value of strdup() is wrongly checked. > > Fixes: 0fe11ec592b2 ("eal: add vdev init and uninit") > Signed-off-by: Tetsuya Mukawa Forgot to pass this

[dpdk-dev] [PATCH v2] eal: Fix wrong error checking while parsing device arguments

2016-06-16 Thread Tetsuya Mukawa
This patch fixes wrong error checking of rte_eal_parse_devargs_str(). Currently, a return value of strdup() is wrongly checked. Fixes: 0fe11ec592b2 ("eal: add vdev init and uninit") Signed-off-by: Tetsuya Mukawa --- lib/librte_eal/common/eal_common_devargs.c | 2 +- 1 file changed, 1 insertion(+