On Tue, May 15, 2012 at 11:20:23AM +0100, Stefano Stabellini wrote:
On Tue, 15 May 2012, Dan Carpenter wrote:
If kzalloc() returns a NULL here, we pass a NULL to
xencons_disconnect_backend() which will cause an Oops.
Also I removed the __GFP_ZERO while I was at it since kzalloc() implies
If kzalloc() returns a NULL here, we pass a NULL to
xencons_disconnect_backend() which will cause an Oops.
Also I removed the __GFP_ZERO while I was at it since kzalloc() implies
__GFP_ZERO.
Signed-off-by: Dan Carpenter dan.carpen...@oracle.com
diff --git a/drivers/tty/hvc/hvc_xen.c
On Tue, 15 May 2012, Dan Carpenter wrote:
If kzalloc() returns a NULL here, we pass a NULL to
xencons_disconnect_backend() which will cause an Oops.
Also I removed the __GFP_ZERO while I was at it since kzalloc() implies
__GFP_ZERO.
Signed-off-by: Dan Carpenter dan.carpen...@oracle.com