]> www.infradead.org Git - nvme.git/commit
kmsan: add missing __user tags
authorIlya Leoshkevich <iii@linux.ibm.com>
Thu, 27 Jun 2024 14:57:46 +0000 (16:57 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 4 Jul 2024 02:30:26 +0000 (19:30 -0700)
commitb072880d69adf2e3dd3e4320f553cc8b9174fea6
tree3dbc6ed5084fd56a6542845423085d548484e098
parent3a8f6f3b469b4075919a3613e182f9a70df92d46
kmsan: add missing __user tags

sparse complains that __user pointers are being passed to functions that
expect non-__user ones.  In all cases, these functions are in fact working
with user pointers, only the tag is missing.  Add it.

Link: https://lkml.kernel.org/r/20240627145754.27333-2-iii@linux.ibm.com
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202406272033.KejtfLkw-lkp@intel.com/
Reviewed-by: Alexander Potapenko <glider@google.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Marco Elver <elver@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/kmsan/core.c
mm/kmsan/kmsan.h
mm/kmsan/report.c