Messages in this thread | | | Date | Wed, 24 May 2017 09:41:14 +0100 | From | Charles Keepax <> | Subject | Re: [PATCH] mfd: add null check before pointer dereference |
| |
On Wed, May 24, 2017 at 03:27:31AM -0500, Gustavo A. R. Silva wrote: > Add null check before dereferencing pointer of_id in order to avoid > a potential NULL pointer dereference. > > Addresses-Coverity-ID: 1408830 > Cc: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> > Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> > ---
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Looks good although is there not probably the same issue in wm831x-i2c.c? Might be worth fixing up both of them.
Thanks, Charles
| |