From: "Gustavo A. R. Silva" <gustavoars@kernel.org>
To: linux-kernel@vger.kernel.org
Cc: linux-hardening@vger.kernel.org,
Andrew Morton <akpm@linux-foundation.org>,
"Gustavo A. R. Silva" <gustavoars@kernel.org>
Subject: [PATCH 0/3][next] lib/stackdepot.c: Replace one-element array with flexible-array member
Date: Thu, 1 Oct 2020 10:24:01 -0500 [thread overview]
Message-ID: <cover.1601565471.git.gustavoars@kernel.org> (raw)
Hi,
This series aim to replace a one-element array with a flexible-array
member. Also, make use of the struct_size(), flexible_array_size()
and array_size() helpers.
Thanks
--
Gustavo
Gustavo A. R. Silva (3):
lib/stackdepot.c: Replace one-element array with flexible-array member
lib/stackdepot.c: Use flex_array_size() helper in memcpy()
lib/stackdepot.c: Use array_size() helper in jhash2()
lib/stackdepot.c | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
--
2.27.0
next reply other threads:[~2020-10-01 15:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-01 15:24 Gustavo A. R. Silva [this message]
2020-10-01 15:25 ` [PATCH 1/3][next] lib/stackdepot.c: Replace one-element array with flexible-array member Gustavo A. R. Silva
2020-10-01 15:25 ` [PATCH 2/3][next] lib/stackdepot.c: Use flex_array_size() helper in memcpy() Gustavo A. R. Silva
2020-10-01 15:26 ` [PATCH 3/3][next] lib/stackdepot.c: Use array_size() helper in jhash2() 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=cover.1601565471.git.gustavoars@kernel.org \
--to=gustavoars@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=linux-hardening@vger.kernel.org \
--cc=linux-kernel@vger.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