Re: [PATCH] selftests: ipc: handle msgget failure return correctly

2014-03-05 Thread Colin Ian King
On 05/03/14 18:50, Guillaume Morin wrote: > On 05 Mar 17:51, Colin King wrote: >> From: Colin Ian King >> >> A failed msgget causes the test to return an uninitialised value >> in ret. Assign ret to -errno on error exit. >> >> Signed-off-by: Colin Ian King >> --- >>

Re: [PATCH] selftests: ipc: handle msgget failure return correctly

2014-03-05 Thread Guillaume Morin
On 05 Mar 17:51, Colin King wrote: > From: Colin Ian King > > A failed msgget causes the test to return an uninitialised value > in ret. Assign ret to -errno on error exit. > > Signed-off-by: Colin Ian King > --- > tools/testing/selftests/ipc/msgque.c | 1 + > 1 file changed, 1 insertion(+) >

Re: [PATCH] selftests: ipc: handle msgget failure return correctly

2014-03-05 Thread Davidlohr Bueso
On Wed, 2014-03-05 at 17:51 +, Colin King wrote: > From: Colin Ian King > > A failed msgget causes the test to return an uninitialised value > in ret. Assign ret to -errno on error exit. > > Signed-off-by: Colin Ian King Acked-by: Davidlohr Bueso -- To unsubscribe from this list: send

[PATCH] selftests: ipc: handle msgget failure return correctly

2014-03-05 Thread Colin King
From: Colin Ian King A failed msgget causes the test to return an uninitialised value in ret. Assign ret to -errno on error exit. Signed-off-by: Colin Ian King --- tools/testing/selftests/ipc/msgque.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/ipc/msgque.c

[PATCH] selftests: ipc: handle msgget failure return correctly

2014-03-05 Thread Colin King
From: Colin Ian King colin.k...@canonical.com A failed msgget causes the test to return an uninitialised value in ret. Assign ret to -errno on error exit. Signed-off-by: Colin Ian King colin.k...@canonical.com --- tools/testing/selftests/ipc/msgque.c | 1 + 1 file changed, 1 insertion(+) diff

Re: [PATCH] selftests: ipc: handle msgget failure return correctly

2014-03-05 Thread Davidlohr Bueso
On Wed, 2014-03-05 at 17:51 +, Colin King wrote: From: Colin Ian King colin.k...@canonical.com A failed msgget causes the test to return an uninitialised value in ret. Assign ret to -errno on error exit. Signed-off-by: Colin Ian King colin.k...@canonical.com Acked-by: Davidlohr Bueso

Re: [PATCH] selftests: ipc: handle msgget failure return correctly

2014-03-05 Thread Guillaume Morin
On 05 Mar 17:51, Colin King wrote: From: Colin Ian King colin.k...@canonical.com A failed msgget causes the test to return an uninitialised value in ret. Assign ret to -errno on error exit. Signed-off-by: Colin Ian King colin.k...@canonical.com --- tools/testing/selftests/ipc/msgque.c |

Re: [PATCH] selftests: ipc: handle msgget failure return correctly

2014-03-05 Thread Colin Ian King
On 05/03/14 18:50, Guillaume Morin wrote: On 05 Mar 17:51, Colin King wrote: From: Colin Ian King colin.k...@canonical.com A failed msgget causes the test to return an uninitialised value in ret. Assign ret to -errno on error exit. Signed-off-by: Colin Ian King colin.k...@canonical.com ---