6 Sep
2010
6 Sep
'10
11:45 a.m.
On Sun, Sep 05, 2010 at 07:10:22PM +0300, Jarkko Nikula wrote:
Null pointer dereference will occur from *setup = pdata->setup if pdata is not set. Fix this by moving assignments from pdata inside non-null case.
Thanks to Jiri Slaby jirislaby@gmail.com for noticing.
Signed-off-by: Jarkko Nikula jhnikula@gmail.com Cc: Jiri Slaby jirislaby@gmail.com
Acked-by: Mark Brown broonie@opensource.wolfsonmicro.com