Re: [dpdk-dev] [PATCH v3] eal/linuxapp: check mmap return value MAP_FAILED

2017-10-09 Thread Thomas Monjalon
29/08/2017 10:31, Sergio Gonzalez Monroy: > On 28/08/2017 22:49, Seth Howell wrote: > > If mmap fails, it will return the value MAP_FAILED. Checking for this > > return code allows us to properly identify mmap failures and report > > them as such to the calling function. > > > > Signed-off-by: Seth

Re: [dpdk-dev] [PATCH v3] eal/linuxapp: check mmap return value MAP_FAILED

2017-08-29 Thread Sergio Gonzalez Monroy
On 28/08/2017 22:49, Seth Howell wrote: If mmap fails, it will return the value MAP_FAILED. Checking for this return code allows us to properly identify mmap failures and report them as such to the calling function. Signed-off-by: Seth Howell --- lib/librte_eal/linuxapp/eal/eal_memory.c | 2 +

[dpdk-dev] [PATCH v3] eal/linuxapp: check mmap return value MAP_FAILED

2017-08-28 Thread Seth Howell
If mmap fails, it will return the value MAP_FAILED. Checking for this return code allows us to properly identify mmap failures and report them as such to the calling function. Signed-off-by: Seth Howell --- lib/librte_eal/linuxapp/eal/eal_memory.c | 2 ++ 1 file changed, 2 insertions(+) diff --