From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Fitzgerald Subject: Re: [PATCH 2/3] ASoC: wm9713: Use empty struct initializer Date: Wed, 14 Feb 2018 17:15:28 +0000 Message-ID: <86924c5f-9f62-8d38-3a24-86e40b8cb843@opensource.cirrus.com> References: <1518622745-12162-1-git-send-email-festevam@gmail.com> <1518622745-12162-2-git-send-email-festevam@gmail.com> <938aa54c-c599-9efc-e78f-4e72db08199e@opensource.cirrus.com> <52f37612-1e70-33d7-f4c9-e1221e6667fd@opensource.cirrus.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mx0b-001ae601.pphosted.com (mx0b-001ae601.pphosted.com [67.231.152.168]) by alsa0.perex.cz (Postfix) with ESMTP id C69B4267B6D for ; Wed, 14 Feb 2018 18:15:31 +0100 (CET) In-Reply-To: Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Fabio Estevam Cc: Fabio Estevam , alsa-devel@alsa-project.org, Mark Brown , Charles Keepax List-Id: alsa-devel@alsa-project.org On 14/02/18 17:01, Fabio Estevam wrote: > On Wed, Feb 14, 2018 at 2:56 PM, Richard Fitzgerald > wrote: > >> I agree but your commit message didn't say that. It's irrelevant now >> Mark has merged the patch, but for anyone looking at the commit message >> later, the structure of your commit message implies that the problem >> is that {0} doesn't work correctly (probably untrue and certainly not > > Yes, and that is the message I want to give: > > {0} does not work correctly if the first member of the struct is a > pointer, as we should not explicitly write 0 to pointers. > I gather that, so I'd have liked to your commit message to have said that. But what you actually said was "{ 0 } only clears the first member of the structure." which is a very different message.