Re: [PATCH] serial: of-serial: zero-out struct of_serial_info

2014-11-06 Thread Florian Fainelli
On 11/06/2014 10:33 AM, Greg KH wrote: > On Tue, Nov 04, 2014 at 10:23:49AM -0800, Florian Fainelli wrote: >> On 10/30/2014 02:55 PM, Arnd Bergmann wrote: >>> On Thursday 30 October 2014 14:18:33 Florian Fainelli wrote: of_platform_serial_probe() invokes of_platform_serial_setup() with a

Re: [PATCH] serial: of-serial: zero-out struct of_serial_info

2014-11-06 Thread Greg KH
On Tue, Nov 04, 2014 at 10:23:49AM -0800, Florian Fainelli wrote: > On 10/30/2014 02:55 PM, Arnd Bergmann wrote: > > On Thursday 30 October 2014 14:18:33 Florian Fainelli wrote: > >> of_platform_serial_probe() invokes of_platform_serial_setup() with a > >> kmalloc'd struct of_serial_info cookie, wh

Re: [PATCH] serial: of-serial: zero-out struct of_serial_info

2014-11-04 Thread Florian Fainelli
On 10/30/2014 02:55 PM, Arnd Bergmann wrote: > On Thursday 30 October 2014 14:18:33 Florian Fainelli wrote: >> of_platform_serial_probe() invokes of_platform_serial_setup() with a >> kmalloc'd struct of_serial_info cookie, which is not much of a problem >> for most of the struct of_serial_info fiel

Re: [PATCH] serial: of-serial: zero-out struct of_serial_info

2014-10-30 Thread Arnd Bergmann
On Thursday 30 October 2014 14:18:33 Florian Fainelli wrote: > of_platform_serial_probe() invokes of_platform_serial_setup() with a > kmalloc'd struct of_serial_info cookie, which is not much of a problem > for most of the struct of_serial_info fields we access but info->clk. > > On platforms whic