Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756904AbZLNLiy (ORCPT ); Mon, 14 Dec 2009 06:38:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756283AbZLNLix (ORCPT ); Mon, 14 Dec 2009 06:38:53 -0500 Received: from opensource.wolfsonmicro.com ([80.75.67.52]:35039 "EHLO opensource2.wolfsonmicro.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753049AbZLNLix (ORCPT ); Mon, 14 Dec 2009 06:38:53 -0500 Date: Mon, 14 Dec 2009 11:38:51 +0000 From: Mark Brown To: Julia Lawall Cc: Liam Girdwood , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH 9/9] sound/soc/codecs: Correct code taking the size of a pointer Message-ID: <20091214113851.GD21066@rakim.wolfsonmicro.main> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Cookie: Too much is not enough. User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 556 Lines: 13 On Sun, Dec 13, 2009 at 12:43:15PM +0100, Julia Lawall wrote: > From: Julia Lawall > > sizeof(codec->reg_cache) is just the size of the pointer. Elsewhere in the > file, codec->reg_cache is used with sizeof(wm8900_reg_defaults), so the > code is changed to do the same here. Applied, thanks. -- 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/