[PATCH 0/4] initramfs: remove sparse warnings

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Namhyung Kim
Date: Wednesday, August 18, 2010 - 8:37 pm

Hello,

This patchset removes most of sparse warnings in init/initramfs.c.
Current implementation of initramfs relies on syscall service rountins heavily
so it requires many of arguments to be __user address space pointers but, in
most cases, were missing proper markups. This patchset tries to fix those at
a minimum change.

Namhyung Kim (4):
  initramfs: refactor clean_path()
  initramfs: mark dirp as a __user pointer on clean_rootfs()
  initramfs: mark collect buffers as __user pointers
  initramfs: add missing __user markup

 init/initramfs.c |   69 ++++++++++++++++++++++++++++++-----------------------
 1 files changed, 39 insertions(+), 30 deletions(-)

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/4] initramfs: remove sparse warnings, Namhyung Kim, (Wed Aug 18, 8:37 pm)
[PATCH 1/4] initramfs: refactor clean_path(), Namhyung Kim, (Wed Aug 18, 8:37 pm)
[PATCH 4/4] initramfs: add missing __user markup, Namhyung Kim, (Wed Aug 18, 8:37 pm)
Re: [PATCH 0/4] initramfs: remove sparse warnings, Arnd Bergmann, (Thu Aug 19, 7:38 am)
Re: [PATCH 0/4] initramfs: remove sparse warnings, Namhyung Kim, (Thu Aug 19, 9:57 am)
Re: [PATCH 0/4] initramfs: remove sparse warnings, Namhyung Kim, (Fri Aug 20, 8:36 am)
Re: [PATCH 0/4] initramfs: remove sparse warnings, Arnd Bergmann, (Sun Aug 22, 1:33 pm)
Re: [PATCH 0/4] initramfs: remove sparse warnings, Namhyung Kim, (Mon Aug 23, 7:59 am)