Re: [PATCH]: Propagate error code from devpts_pty_new
From: H. Peter Anvin
Date: Thu Apr 17 2008 - 12:29:16 EST
Serge E. Hallyn wrote:
Quoting sukadev@xxxxxxxxxx (sukadev@xxxxxxxxxx):
From: Sukadev Bhattiprolu <sukadev@xxxxxxxxxx>
Subject: [PATCH]: Propagate error code from devpts_pty_new
Have ptmx_open() propagate any error code returned by devpts_pty_new()
(which returns either 0 or -ENOMEM anyway).
Signed-off-by: Sukadev Bhattiprolu <sukadev@xxxxxxxxxx>
Seems nice and non-contentuous.
Acked-by: Serge Hallyn <serue@xxxxxxxxxx>
Acked-by: H. Peter Anvin <hpa@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/