[PATCH] pinctrl: exynos5440: fix issues reported by prevent tool

Linus Walleij linus.walleij at linaro.org
Fri Jun 7 07:21:56 EDT 2013


On Thu, Jun 6, 2013 at 3:22 AM, Kukjin Kim <kgene.kim at samsung.com> wrote:

> From: Thomas Abraham <thomas.ab at samsung.com>
>
> This patch fixes issues reported by prevent tool.
>
> Signed-off-by: Thomas Abraham <thomas.ab at samsung.com>
> Signed-off-by: Kukjin Kim <kgene.kim at samsung.com>

Patch applied except for this hunk:

> -       priv = devm_kzalloc(dev, sizeof(priv), GFP_KERNEL);
> +       priv = devm_kzalloc(dev, sizeof(*priv), GFP_KERNEL);

That was already fixed by the patch
"pinctrl: exynos5440: fix invalid use of sizeof in exynos5440_pinctrl_probe()"
by Wei Yongjun.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list