All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3][next] lib/stackdepot.c: Replace one-element array with flexible-array member
@ 2020-10-01 15:24 Gustavo A. R. Silva
  2020-10-01 15:25 ` [PATCH 1/3][next] " Gustavo A. R. Silva
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Gustavo A. R. Silva @ 2020-10-01 15:24 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-hardening, Andrew Morton, Gustavo A. R. Silva

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-10-01 15:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-01 15:24 [PATCH 0/3][next] lib/stackdepot.c: Replace one-element array with flexible-array member Gustavo A. R. Silva
2020-10-01 15:25 ` [PATCH 1/3][next] " 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

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.