Jingchang Lu 7e12e675c1 serial: of-serial: fix uninitialized kmalloc variable
The info pointer points to an uninitialized kmalloced space.
If a device doesn't have clk property, then info->clk may
have unpredicated value and cause call trace. So use kzalloc
to make sure it is NULL initialized.

Signed-off-by: Jingchang Lu <jingchang.lu@freescale.com>
Acked-by: Arnd Bergmann <arnd@arndb.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-11-05 20:12:02 -08:00
..
2014-07-13 15:52:12 -07:00
2014-06-19 13:04:52 -07:00
2014-09-23 21:19:35 -07:00
2013-03-18 16:26:33 -07:00
2014-09-28 21:49:48 -04:00
2013-07-31 17:56:15 -07:00
2014-06-19 13:04:52 -07:00
2013-07-31 17:56:15 -07:00
2014-06-19 13:04:52 -07:00
2014-06-19 13:04:52 -07:00
2014-08-08 11:14:29 -07:00
2014-05-28 12:27:22 -07:00
2014-06-19 13:04:52 -07:00
2014-06-19 13:04:52 -07:00
2014-09-08 16:22:42 -07:00
2014-06-19 13:04:52 -07:00
2014-06-19 13:04:52 -07:00