Skip to content

kmsan: fix sparse warnings

Ilya Leoshkevich linux-mm lkml 1 version Applied

Status from this message: [merged mm-stable] kmsan-do-not-pass-null-pointers-as-0.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2kmsan: add missing __user tagsmm/kmsan/core.c mm/kmsan/kmsan.h mm/kmsan/report.c+6 -61 replyApplied
2/2kmsan: do not pass NULL pointers as 0mm/kmsan/hooks.c mm/kmsan/instrumentation.c+10 -91 replyApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAlexander Potapenko
1/2R-b
2/2R-b

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

Read the v1 thread

Cover letter [PATCH 0/2] kmsan: fix sparse warnings

Hi,

Kernel test robot reported several sparse warnings in the KMSAN code base [1]. They belong to two broad classes; fix each in a separate commit.

Best regards,
Ilya

[1] https://lore.kernel.org/linux-mm/[email protected]/

Ilya Leoshkevich (2):
kmsan: add missing __user tags
kmsan: do not pass NULL pointers as 0

 mm/kmsan/core.c            |  4 ++--
 mm/kmsan/hooks.c           | 15 ++++++++-------
 mm/kmsan/instrumentation.c |  4 ++--
 mm/kmsan/kmsan.h           |  6 +++---
 mm/kmsan/report.c          |  2 +-
 5 files changed, 16 insertions(+), 15 deletions(-)
Signature · 1 line
2.45.2