The patch titled Subject: net/9p/protocol.c: return -ENOMEM when kmalloc() failed has been removed from the -mm tree. Its filename was 9p-net-protocolc-return-enomem-when-kmalloc-failed.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: piaojun <piaojun@xxxxxxxxxx> Subject: net/9p/protocol.c: return -ENOMEM when kmalloc() failed We should return -ENOMEM to upper user when kmalloc failed to indicate accurate errno. Link: http://lkml.kernel.org/r/5B4552C5.60000@xxxxxxxxxx Signed-off-by: Jun Piao <piaojun@xxxxxxxxxx> Reviewed-by: Yiwen Jiang <jiangyiwen@xxxxxxxxxx> Reviewed-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Cc: Eric Van Hensbergen <ericvh@xxxxxxxxx> Cc: Ron Minnich <rminnich@xxxxxxxxxx> Cc: Latchesar Ionkov <lucho@xxxxxxxxxx> Cc: Dominique Martinet <asmadeus@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- net/9p/protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN net/9p/protocol.c~9p-net-protocolc-return-enomem-when-kmalloc-failed net/9p/protocol.c --- a/net/9p/protocol.c~9p-net-protocolc-return-enomem-when-kmalloc-failed +++ a/net/9p/protocol.c @@ -156,7 +156,7 @@ p9pdu_vreadf(struct p9_fcall *pdu, int p *sptr = kmalloc(len + 1, GFP_NOFS); if (*sptr == NULL) { - errcode = -EFAULT; + errcode = -ENOMEM; break; } if (pdu_read(pdu, *sptr, len)) { _ Patches currently in -mm which might be from piaojun@xxxxxxxxxx are ocfs2-return-erofs-when-filesystem-becomes-read-only.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