Subject: [merged] tools-testing-selftests-ipc-msgquec-handle-msgget-failure-return-correctly.patch removed from -mm tree To: colin.king@xxxxxxxxxxxxx,davidlohr@xxxxxx,skinsbursky@xxxxxxxxxxxxx,mm-commits@xxxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Tue, 11 Mar 2014 11:25:12 -0700 The patch titled Subject: tools/testing/selftests/ipc/msgque.c: handle msgget failure return correctly has been removed from the -mm tree. Its filename was tools-testing-selftests-ipc-msgquec-handle-msgget-failure-return-correctly.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Colin Ian King <colin.king@xxxxxxxxxxxxx> Subject: tools/testing/selftests/ipc/msgque.c: handle msgget failure return correctly 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.king@xxxxxxxxxxxxx> Acked-by: Davidlohr Bueso <davidlohr@xxxxxx> Cc: Stanislav Kinsbursky <skinsbursky@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- tools/testing/selftests/ipc/msgque.c | 1 + 1 file changed, 1 insertion(+) diff -puN tools/testing/selftests/ipc/msgque.c~tools-testing-selftests-ipc-msgquec-handle-msgget-failure-return-correctly tools/testing/selftests/ipc/msgque.c --- a/tools/testing/selftests/ipc/msgque.c~tools-testing-selftests-ipc-msgquec-handle-msgget-failure-return-correctly +++ a/tools/testing/selftests/ipc/msgque.c @@ -201,6 +201,7 @@ int main(int argc, char **argv) msgque.msq_id = msgget(msgque.key, IPC_CREAT | IPC_EXCL | 0666); if (msgque.msq_id == -1) { + err = -errno; printf("Can't create queue\n"); goto err_out; } _ Patches currently in -mm which might be from colin.king@xxxxxxxxxxxxx are origin.patch linux-next.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html