Subject: + lib-digsigc-use-err_cast-inlined-function-instead-of-err_ptrptr_err.patch added to -mm tree To: duanj.fnst@xxxxxxxxxxxxxx,james.l.morris@xxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Mon, 07 Oct 2013 18:11:06 -0700 The patch titled Subject: lib/digsig.c: use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...)) has been added to the -mm tree. Its filename is lib-digsigc-use-err_cast-inlined-function-instead-of-err_ptrptr_err.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/lib-digsigc-use-err_cast-inlined-function-instead-of-err_ptrptr_err.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/lib-digsigc-use-err_cast-inlined-function-instead-of-err_ptrptr_err.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: Duan Jiong <duanj.fnst@xxxxxxxxxxxxxx> Subject: lib/digsig.c: use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...)) Signed-off-by: Duan Jiong <duanj.fnst@xxxxxxxxxxxxxx> Cc: James Morris <james.l.morris@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- lib/digsig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN lib/digsig.c~lib-digsigc-use-err_cast-inlined-function-instead-of-err_ptrptr_err lib/digsig.c --- a/lib/digsig.c~lib-digsigc-use-err_cast-inlined-function-instead-of-err_ptrptr_err +++ a/lib/digsig.c @@ -209,7 +209,7 @@ int digsig_verify(struct key *keyring, c kref = keyring_search(make_key_ref(keyring, 1UL), &key_type_user, name); if (IS_ERR(kref)) - key = ERR_PTR(PTR_ERR(kref)); + key = ERR_CAST(kref); else key = key_ref_to_ptr(kref); } else { _ Patches currently in -mm which might be from duanj.fnst@xxxxxxxxxxxxxx are lib-digsigc-use-err_cast-inlined-function-instead-of-err_ptrptr_err.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