On Fri, Nov 18, 2016 at 02:35:57PM +0300, Dan Carpenter wrote: > Smatch complains that we dereference "map" before testing it for NULL > which is true. We should be testing "*map" instead. Also on the error > path, we should free *map and set it to NULL. > > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Acked-by: Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx> Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
Attachment:
signature.asc
Description: PGP signature