[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMo8BfLuOix9uaUM9xmMBmZBwT0X4A_MSr9Ne7t2Nj--UBYdww@mail.gmail.com>
Date: Fri, 15 Mar 2013 07:02:52 +0400
From: Max Filippov <jcmvbkbc@...il.com>
To: Wei Yongjun <weiyj.lk@...il.com>
Cc: chris@...kel.net, yongjun_wei@...ndmicro.com.cn,
linux-xtensa@...ux-xtensa.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] xtensa: net: fix invalid use of sizeof in iss_net_setup()
On Thu, Mar 14, 2013 at 6:06 PM, Wei Yongjun <weiyj.lk@...il.com> wrote:
> From: Wei Yongjun <yongjun_wei@...ndmicro.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@...ndmicro.com.cn>
> ---
> arch/xtensa/platforms/iss/network.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Max Filippov <jcmvbkbc@...il.com>
--
Thanks.
-- Max
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists