Re: [PATCH] xtensa: net: fix invalid use of sizeof in iss_net_setup()

2013-03-14 Thread Max Filippov
On Thu, Mar 14, 2013 at 6:06 PM, Wei Yongjun wrote: > 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 > --- > arch/xtensa/platforms/iss/network.c | 2 +- > 1 file changed, 1 i

[PATCH] xtensa: net: fix invalid use of sizeof in iss_net_setup()

2013-03-14 Thread Wei Yongjun
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 --- arch/xtensa/platforms/iss/network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/xtensa/platforms/iss/ne