From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DC2EBC07E9D for ; Mon, 26 Sep 2022 22:29:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229570AbiIZW33 (ORCPT ); Mon, 26 Sep 2022 18:29:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229521AbiIZW32 (ORCPT ); Mon, 26 Sep 2022 18:29:28 -0400 X-Greylist: delayed 90 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 26 Sep 2022 15:29:27 PDT Received: from omta037.useast.a.cloudfilter.net (omta037.useast.a.cloudfilter.net [44.202.169.36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B724111448 for ; Mon, 26 Sep 2022 15:29:27 -0700 (PDT) Received: from eig-obgw-6006a.ext.cloudfilter.net ([10.0.30.182]) by cmsmtp with ESMTP id cgnAoip1u7krOcwZwotOFS; Mon, 26 Sep 2022 22:27:56 +0000 Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with ESMTP id cwZuoXrO3Kiw6cwZuogDlv; Mon, 26 Sep 2022 22:27:55 +0000 X-Authority-Analysis: v=2.4 cv=RaCDtnhv c=1 sm=1 tr=0 ts=6332276b a=1YbLdUo/zbTtOZ3uB5T3HA==:117 a=aukr7FhhocSji02eYO7jmA==:17 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=IkcTkHD0fZMA:10 a=xOM3xZuef0cA:10 a=wYkD_t78qR0A:10 a=iox4zFpeAAAA:8 a=foHCeV_ZAAAA:8 a=VwQbUJbxAAAA:8 a=P2InLthoESwt6vYYg4gA:9 a=QEXdDO2ut3YA:10 a=WzC6qhA0u3u7Ye7llzcV:22 a=h8a9FgHX5U4dIE3jaWyr:22 a=AjGcO6oz07-iQ99wixmX:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=embeddedor.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=4qq7HZal1zXmdipeTuMCQi90iSHTfHneYxHZyhIjH3k=; b=JBQdcnhcWkrdtfhnIY+ItiYfLA SuZmvVNJtRFIRQ49zbxk91lBjJ5SbBysC7ArpbVOeAWWtLt4H0KlGimmzD2u0U6+UPUeCDBDT2nAk alw/D1AvrLeEZ7z9W49dTQbQXoMroTu3Fs7h4pnDiN5UPy8pUfjIdhuyHCUYRyRT/tYA0fw8dNgl4 yAOJASCvp3eqyIf/jlhjxAwYn3mIov3Mom/UKCBsVrwP2cu5pOcErmU0wMG1xi4qlpVLbQQt5BqWs QHz+x8mKDOBoUR8Pb4nvngtB+aUwkMYpwZ3r7EmkWm5Ew9WnHJaa8FXYNhMVFBfKQs9Ej8Y/5P6Q4 KJJfQREQ==; Received: from 187.184.158.174.cable.dyn.cableonline.com.mx ([187.184.158.174]:20322 helo=[192.168.0.24]) by gator4166.hostgator.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.95) (envelope-from ) id 1ocwZt-003JXQ-3T; Mon, 26 Sep 2022 17:27:53 -0500 Message-ID: <81af0106-a732-ce45-bb1c-c45db9e1aeb9@embeddedor.com> Date: Mon, 26 Sep 2022 17:27:41 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH][next] ASoC: SOF: control.h: Replace zero-length array with DECLARE_FLEX_ARRAY() helper Content-Language: en-US To: Mark Brown , "Gustavo A. R. Silva" Cc: Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org References: From: "Gustavo A. R. Silva" In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator4166.hostgator.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - embeddedor.com X-BWhitelist: no X-Source-IP: 187.184.158.174 X-Source-L: No X-Exim-ID: 1ocwZt-003JXQ-3T X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 187.184.158.174.cable.dyn.cableonline.com.mx ([192.168.0.24]) [187.184.158.174]:20322 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 1 X-Org: HG=hgshared;ORG=hostgator; X-Source-Cap: Z3V6aWRpbmU7Z3V6aWRpbmU7Z2F0b3I0MTY2Lmhvc3RnYXRvci5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfDLLJVRbaiUTC7mHe58IrIvFYOGrc8S/yw20m77x2dnbkfPf1ad9Oo7YqgDN7DrhCzwzOUYTbw6Zz+rQONVPFZK0uYb6CmZP/s1LcFu464oD4M8tlTBF R49hYrYqukt6wODwu1Gr8htFzdwESWJScRiK0KfD1bY9XLWPvMtpi0I0P1WmcFr00vI7ALElPxtjEGC8PkIylE6kqKMqIu1wjRZdsmNqnm09Rf22fGiiVWtt Precedence: bulk List-ID: X-Mailing-List: linux-hardening@vger.kernel.org On 9/26/22 17:12, Mark Brown wrote: > On Mon, Sep 26, 2022 at 04:40:55PM -0500, Gustavo A. R. Silva wrote: >> Zero-length arrays are deprecated and we are moving towards adopting >> C99 flexible-array members, instead. So, replace zero-length arrays >> declarations in anonymous union with the new DECLARE_FLEX_ARRAY() >> helper macro. >> >> This helper allows for flexible-array members in unions. > > As documented in submitting-patches.rst please send patches to the > maintainers for the code you would like to change. The normal kernel > workflow is that people apply patches from their inboxes, if they aren't > copied they are likely to not see the patch at all and it is much more > difficult to apply patches. That's exactly what I intended to do: $ scripts/get_maintainer.pl --nokeywords --nogit --nogit-fallback include/sound/sof/control.h Jaroslav Kysela (maintainer:SOUND) Takashi Iwai (maintainer:SOUND) alsa-devel@alsa-project.org (moderated list:SOUND) linux-kernel@vger.kernel.org (open list) Did you see anything wrong with this or something...? Thanks -- Gustavo