[PATCH] pinctrl: exynos5440: fix invalid use of sizeof in exynos5440_pinctrl_probe()
Linus Walleij
linus.walleij at linaro.org
Thu Mar 28 08:24:59 EST 2013
On Thu, Mar 14, 2013 at 2:59 PM, Wei Yongjun <weiyj.lk at gmail.com> wrote:
> From: Wei Yongjun <yongjun_wei at trendmicro.com.cn>
>
> sizeof() when applied to a pointer typed expression gives the
> size of the pointer, not that of the pointed data.
>
> Signed-off-by: Wei Yongjun <yongjun_wei at trendmicro.com.cn>
> ---
> drivers/pinctrl/pinctrl-exynos5440.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Patch applied, unless the Exynos maintainer protest..
Yours,
Linus Walleij
More information about the devicetree-discuss
mailing list