We don't want to assing result to old variable. drivers/pinctrl/berlin/berlin.c:239: pctrl->functions = krealloc(pctrl->functions, drivers/pinctrl/sh-pfc/pinctrl.c:192: maps = krealloc(maps, sizeof(*maps) * nmaps, GFP_KERNEL); drivers/pinctrl/sunxi/pinctrl-sunxi.c:400: *map = krealloc(*map, i * sizeof(struct pinctrl_map), GFP_KERNEL); drivers/pinctrl/sunxi/pinctrl-sunxi.c:1088: pctl->functions = krealloc(pctl->functions, I have checked them, and seems all listed have a flaw. -- With Best Regards, Andy Shevchenko -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html