From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH 9/9] sound/soc/codecs: Correct code taking the size of a pointer Date: Mon, 14 Dec 2009 11:38:51 +0000 Message-ID: <20091214113851.GD21066@rakim.wolfsonmicro.main> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from opensource2.wolfsonmicro.com (opensource.wolfsonmicro.com [80.75.67.52]) by alsa0.perex.cz (Postfix) with ESMTP id BD3F32435D for ; Mon, 14 Dec 2009 12:38:52 +0100 (CET) Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Julia Lawall Cc: alsa-devel@alsa-project.org, Takashi Iwai , kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Liam Girdwood List-Id: alsa-devel@alsa-project.org 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. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Date: Mon, 14 Dec 2009 11:38:51 +0000 Subject: Re: [PATCH 9/9] sound/soc/codecs: Correct code taking the size of Message-Id: <20091214113851.GD21066@rakim.wolfsonmicro.main> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Julia Lawall Cc: alsa-devel@alsa-project.org, Takashi Iwai , kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Liam Girdwood 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. From mboxrd@z Thu Jan 1 00:00:00 1970 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 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.