RE: [PATCH -next v2] mailbox: fix invalid use of sizeof in mailbox_msg_send()

2013-03-25 Thread Anna, Suman
> From: Wei Yongjun > > 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 > --- > drivers/mailbox/mailbox.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git

RE: [PATCH -next v2] mailbox: fix invalid use of sizeof in mailbox_msg_send()

2013-03-25 Thread Anna, Suman
From: Wei Yongjun yongjun_...@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_...@trendmicro.com.cn --- drivers/mailbox/mailbox.c | 6 +++--- 1 file changed, 3