Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753469Ab3CODCz (ORCPT ); Thu, 14 Mar 2013 23:02:55 -0400 Received: from mail-ob0-f172.google.com ([209.85.214.172]:60659 "EHLO mail-ob0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752328Ab3CODCx (ORCPT ); Thu, 14 Mar 2013 23:02:53 -0400 MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 15 Mar 2013 07:02:52 +0400 Message-ID: Subject: Re: [PATCH] xtensa: net: fix invalid use of sizeof in iss_net_setup() From: Max Filippov To: Wei Yongjun Cc: chris@zankel.net, yongjun_wei@trendmicro.com.cn, linux-xtensa@linux-xtensa.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 718 Lines: 21 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 insertion(+), 1 deletion(-) Acked-by: Max Filippov -- Thanks. -- Max -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/