Skip to content

kcsan: debugs: Refactor allocation code

Andy Shevchenko lkml 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v11 patch 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2kcsan: debugfs: Use krealloc_array() to replace krealloc()kernel/kcsan/debugfs.c+3 -30 replies
2/2kcsan: debugfs: Use krealloc_array() for initial allocation as wellkernel/kcsan/debugfs.c+6 -100 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchMarco Elver
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] kcsan: debugs: Refactor allocation code

Refactor allocation code to be more robust against overflows and shorted in terms of LoCs.

In v2:
- collected tags (Marco)
- added patch 2

Andy Shevchenko (2):
kcsan: debugfs: Use krealloc_array() to replace krealloc()
kcsan: debugfs: Use krealloc_array() for initial allocation as well

 kernel/kcsan/debugfs.c | 20 ++++++++------------
 1 file changed, 8 insertions(+), 12 deletions(-)
Signature · 1 line
2.43.0.rc1.1336.g36b5255a03ac