linux-mips
[Top] [All Lists]

Re: [PATCH 1/9] arch/mips/alchemy: Correct code taking the size of a poi

To: Julia Lawall <julia@diku.dk>
Subject: Re: [PATCH 1/9] arch/mips/alchemy: Correct code taking the size of a pointer
From: Ralf Baechle <ralf@linux-mips.org>
Date: Thu, 24 Dec 2009 14:22:57 +0100
Cc: linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org
In-reply-to: <Pine.LNX.4.64.0912131240100.24267@ask.diku.dk>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <Pine.LNX.4.64.0912131240100.24267@ask.diku.dk>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.20 (2009-08-17)
On Sun, Dec 13, 2009 at 12:40:39PM +0100, Julia Lawall wrote:

> From: Julia Lawall <julia@diku.dk>
> 
> sizeof(dp) is just the size of the pointer.  Change it to the size of the
> referenced structure.

Thanks Julia, applied.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>