lkml.org 
[lkml]   [2022]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH][next] ASoC: SOF: control.h: Replace zero-length array with DECLARE_FLEX_ARRAY() helper
    From


    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 <perex@perex.cz> (maintainer:SOUND)

    Takashi Iwai <tiwai@suse.com> (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

    \
     
     \ /
      Last update: 2022-09-27 00:29    [W:4.928 / U:0.052 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site