Messages in this thread | | | Subject | Re: [PATCHv5 1/8] i2c: Add pointer dereference protection to i2c_match_id() | From | Javier Martinez Canillas <> | Date | Tue, 10 May 2016 00:54:45 -0400 |
| |
On 05/04/2016 11:14 AM, Kieran Bingham wrote: > From: Lee Jones <lee.jones@linaro.org> > > Here we're providing dereference protection for i2c_match_id(), which > saves us having to do it each time it's called. We're also stripping > out the (now) needless checks in i2c_device_match(). This patch paves > the way for other, similar code trimming. > > Acked-by: Grant Likely <grant.likely@linaro.org> > Signed-off-by: Lee Jones <lee.jones@linaro.org> > Signed-off-by: Kieran Bingham <kieran@bingham.xyz> > Tested-by: Kieran Bingham <kieran@bingham.xyz> > ---
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com> Tested-by: Javier Martinez Canillas <javier@osg.samsung.com>
Best regards, -- Javier Martinez Canillas Open Source Group Samsung Research America
| |