From: Borislav Petkov <bp@alien8.de>
To: "Gustavo A. R. Silva" <garsilva@embeddedor.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>,
linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: EDAC, sb_edac: Remove VLA usage
Date: Tue, 13 Mar 2018 11:48:11 +0100 [thread overview]
Message-ID: <20180313104811.GA23568@pd.tnic> (raw)
On Mon, Mar 12, 2018 at 05:52:13PM -0500, Gustavo A. R. Silva wrote:
> Do you mean just adding a code comment?
No, I mean
#define MAX_INTERLEAVE (max_t(unsigned int, ARRAY_SIZE(knl_interleave_list), ...
which computes the max of all three array sizes.
Thx.
next reply other threads:[~2018-03-13 10:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-13 10:48 Borislav Petkov [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-03-13 11:08 EDAC, sb_edac: Remove VLA usage Gustavo A. R. Silva
2018-03-12 22:52 Gustavo A. R. Silva
2018-03-10 14:04 Borislav Petkov
2018-03-10 3:02 Gustavo A. R. Silva
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=20180313104811.GA23568@pd.tnic \
--to=bp@alien8.de \
--cc=garsilva@embeddedor.com \
--cc=linux-edac@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mchehab@kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).