The patch titled Subject: keys: fix unreachable code has been added to the -mm tree. Its filename is keys-fix-unreachable-code.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Alan Cox <alan@xxxxxxxxxxxxxxx> Subject: keys: fix unreachable code We set ret to NULL then test it. Remove the bogus test Signed-off-by: Alan Cox <alan@xxxxxxxxxxxxxxx> Signed-off-by: David Howells <dhowells@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- security/keys/process_keys.c | 2 -- 1 file changed, 2 deletions(-) diff -puN security/keys/process_keys.c~keys-fix-unreachable-code security/keys/process_keys.c --- a/security/keys/process_keys.c~keys-fix-unreachable-code +++ a/security/keys/process_keys.c @@ -367,8 +367,6 @@ key_ref_t search_my_process_keyrings(str switch (PTR_ERR(key_ref)) { case -EAGAIN: /* no key */ - if (ret) - break; case -ENOKEY: /* negative key */ ret = key_ref; break; _ Patches currently in -mm which might be from alan@xxxxxxxxxxxxxxx are origin.patch linux-next.patch hfsplus-avoid-crash-on-failed-block-map-free.patch sendfile-allows-bypassing-of-notifier-events.patch keys-fix-unreachable-code.patch fb-rework-locking-to-fix-lock-ordering-on-takeover.patch fb-rework-locking-to-fix-lock-ordering-on-takeover-fix.patch fb-rework-locking-to-fix-lock-ordering-on-takeover-fix-2.patch binfmt_elfc-use-get_random_int-to-fix-entropy-depleting.patch fork-unshare-remove-dead-code.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