[PATCH 0/4] initramfs: remove sparse warnings

From: Namhyung Kim
Date: Wed Aug 18 2010 - 23:38:20 EST


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(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/