From: Deepak R Varma <drv@mailo.com>
To: "Gustavo A. R. Silva" <gustavoars@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: staging/wlan-ng query: convert to flexible array member
Date: Sun, 13 Nov 2022 13:08:09 +0530 [thread overview]
Message-ID: <Y3Ce4TochNsaiT6J@qemulion> (raw)
In-Reply-To: <Y3CPx0IFf1la7Zy0@work>
On Sun, Nov 13, 2022 at 12:33:43AM -0600, Gustavo A. R. Silva wrote:
> On Tue, Nov 08, 2022 at 08:42:59PM +0530, Deepak R Varma wrote:
> >
> > Can you please suggest how should I approach correcting the zero element flex
> > array implementation here? Can these structs be removed if they are unused?
>
> You can try using DECLARE_FLEX_ARRAY(). See this[1] patch.
Thank you very much for the quick reply. The link you provided is very helpful.
I will review it in detail and correct my patch proposal accordingly.
ps: Also. thank you for including the cc list. I has already made a lot of noise
with on the lists, so did not copy them intentionally in my email to you.
./drv
>
> --
> Gustavo
>
> [1] https://git.kernel.org/linus/6e4a53ee7989c8a2b9fc3b14cd90f6e2d613ca76
>
prev parent reply other threads:[~2022-11-13 7:38 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-08 15:12 staging/wlan-ng query: convert to flexible array member Deepak R Varma
2022-11-08 15:34 ` Greg Kroah-Hartman
2022-11-08 15:45 ` Deepak R Varma
2022-11-08 15:52 ` Greg Kroah-Hartman
2022-11-08 17:37 ` Deepak R Varma
2022-11-08 18:32 ` Greg Kroah-Hartman
2022-11-08 18:38 ` Deepak R Varma
2022-11-08 19:43 ` Greg Kroah-Hartman
2022-11-09 6:51 ` Deepak R Varma
2022-11-13 6:33 ` Gustavo A. R. Silva
2022-11-13 7:38 ` Deepak R Varma [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y3Ce4TochNsaiT6J@qemulion \
--to=drv@mailo.com \
--cc=gregkh@linuxfoundation.org \
--cc=gustavoars@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox