[PATCH 10/10] leds: renesas: fix error handling

2012-08-08 Thread Arnd Bergmann
bfe4c041 "leds: convert Renesas TPU LED driver to devm_kzalloc() and cleanup error exit path" introduced a possible case in which r_tpu_probe calls iounmap on a wild pointer. This changes the one case that was missed in the same way as the other error paths. Without this patch, building kota2_defc

Re: [PATCH 10/10] leds: renesas: fix error handling

2012-08-08 Thread Bryan Wu
On Thu, Aug 9, 2012 at 5:27 AM, Arnd Bergmann wrote: > bfe4c041 "leds: convert Renesas TPU LED driver to devm_kzalloc() and > cleanup error exit path" introduced a possible case in which r_tpu_probe > calls iounmap on a wild pointer. This changes the one case that was > missed in the same way as t

Re: [PATCH 10/10] leds: renesas: fix error handling

2012-08-09 Thread Arnd Bergmann
On Thursday 09 August 2012, Bryan Wu wrote: > > On Thu, Aug 9, 2012 at 5:27 AM, Arnd Bergmann wrote: > > bfe4c041 "leds: convert Renesas TPU LED driver to devm_kzalloc() and > > cleanup error exit path" introduced a possible case in which r_tpu_probe > > calls iounmap on a wild pointer. This chan