* + keys-fix-unreachable-code.patch added to -mm tree
@ 2012-12-20 0:22 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2012-12-20 0:22 UTC (permalink / raw)
To: mm-commits; +Cc: alan, dhowells
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@linux.intel.com>
Subject: keys: fix unreachable code
We set ret to NULL then test it. Remove the bogus test
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
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@linux.intel.com 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-12-20 0:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-20 0:22 + keys-fix-unreachable-code.patch added to -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox