Dan Carpenter bdb595b4a9 tty: hvc_xen: NULL dereference on allocation failure
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.carpenter@oracle.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-15 08:48:45 -07:00
..
2012-04-20 11:31:00 -07:00
2012-04-12 15:36:33 -07:00
2012-03-19 09:37:11 +00:00
2012-03-27 16:03:32 -07:00
2012-04-21 01:58:20 -04:00
2012-04-18 11:15:50 -07:00
2012-04-18 15:57:31 -07:00
2012-04-18 15:57:31 -07:00
2012-03-17 01:41:43 -07:00
2012-04-23 09:39:23 -07:00
2012-03-30 00:09:17 -07:00
2012-05-04 16:58:47 -07:00
2012-04-23 09:39:23 -07:00
2012-04-18 13:15:51 -07:00
2012-03-29 18:02:10 -07:00
2012-04-19 15:12:49 -04:00