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.
WARNING: multiple messages have this Message-ID (diff)
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: Re: [PATCH] EDAC, sb_edac: Remove VLA usage
Date: Tue, 13 Mar 2018 11:48:11 +0100 [thread overview]
Message-ID: <20180313104811.GA23568@pd.tnic> (raw)
In-Reply-To: <f875ba4f-65d0-0f13-850d-f323306b8e13@embeddedor.com>
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.
--
Regards/Gruss,
Boris.
Good mailing practices for 400: avoid top-posting and trim the reply.
next reply other threads:[~2018-03-13 10:48 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-13 10:48 Borislav Petkov [this message]
2018-03-13 10:48 ` [PATCH] EDAC, sb_edac: Remove VLA usage Borislav Petkov
-- strict thread matches above, loose matches on Subject: below --
2018-03-13 11:08 Gustavo A. R. Silva
2018-03-13 11:08 ` [PATCH] " Gustavo A. R. Silva
2018-03-12 22:52 Gustavo A. R. Silva
2018-03-12 22:52 ` [PATCH] " Gustavo A. R. Silva
2018-03-10 14:04 Borislav Petkov
2018-03-10 14:04 ` [PATCH] " Borislav Petkov
2018-03-10 3:02 Gustavo A. R. Silva
2018-03-10 3:02 ` [PATCH] " 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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.