Thread (2 messages) 2 messages, 2 authors, 2013-03-27

Re: [PATCH] pinctrl: exynos5440: fix invalid use of sizeof in exynos5440_pinctrl_probe()

From: Linus Walleij <hidden>
Date: 2013-03-27 21:25:01
Also in: lkml

On Thu, Mar 14, 2013 at 2:59 PM, Wei Yongjun [off-list ref] wrote:
From: Wei Yongjun <redacted>

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 <redacted>
---
 drivers/pinctrl/pinctrl-exynos5440.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Patch applied, unless the Exynos maintainer protest..

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help