[PATCH] uio: fix vma io range check in mmap

2014-03-24 Thread Bin Wang
== 4KB, due to "len" is aligned to page size in do_mmap_pgoff(). now fix this issue by align mem->size to page size in the check. Signed-off-by: Bin Wang --- drivers/uio/uio.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/uio/uio.c b/drivers/

Re: [PATCH 1/1] scripts/package/Makefile: compare objtree with srctree instead of test KBUILD_OUTPUT

2013-03-13 Thread Bin Wang
Hi, Michal Is there any comments on this? 2013/2/25 Bin Wang : > KBUILD_OUTPUT is always empty here, so it is useless to test it. But > while use O=.., objtree and srctree will be different. I compare them > instead. > > Signed-off-by: Bin Wang > --- > scripts/package/Make

[PATCH 1/1] scripts/package/Makefile: compare objtree with srctree instead of test KBUILD_OUTPUT

2013-02-24 Thread Bin Wang
KBUILD_OUTPUT is always empty here, so it is useless to test it. But while use O=.., objtree and srctree will be different. I compare them instead. Signed-off-by: Bin Wang --- scripts/package/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/package/Makefile b

[PATCH] scripts/package/Makefile: compare objtree with srctree instead of test KBUILD_OUTPUT

2013-02-24 Thread Bin Wang
KBUILD_OUTPUT is always empty here, so it is useless to test it. But while use O=.., objtree and srctree will be different. I compare them instead. --- scripts/package/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/package/Makefile b/scripts/package/Makefile i

[PATCH 1/1] scripts/package/Makefile: remove useless KBUILD_OUTPUT test

2013-01-20 Thread Bin Wang
The test of KBUILD_OUTPUT in "rpm-pkg rpm" target is useless. KBUILD_OUTPUT is always empty here. Signed-off-by: Bin Wang --- scripts/package/Makefile | 6 -- 1 file changed, 6 deletions(-) diff --git a/scripts/package/Makefile b/scripts/package/Makefile index 87bf080..ba073a6 10

scripts/package/Makefile: KBUILD_OUTPUT is useless in rpm build

2013-01-20 Thread Bin Wang
ad."; \ > false; \ > fi But the fact is, whether or not the user use "O=" option, KBUILD_OUTPUT is always empty. I try to figure out why but the big Makefile drives me crazy. I'm thinking if the "O=" option really don't effect KBUILD_OUTPUT here, at least

scripts/package: KBUILD_OUTPUT is useless in rpm build

2013-01-18 Thread Bin Wang
>echo "binrpm-pkg target instead."; \ >false; \ > fi But the fact is, whether or not the user use "O=" option, KBUILD_OUTPUT is always empty. I try to figure out why but the big Makefile drives me crazy. I'm thinking if the "O=" option r

Re: [PATCH RFC -next] Fix the trailing blank space issue

2013-01-14 Thread Bin Wang
wrote: On Thu, Dec 06, 2012 at 03:42:20PM +, Cong Ding wrote: On Thu, Dec 06, 2012 at 05:08:56PM +0800, Bin Wang wrote: This patch removes the trailing white space in fs/sysfs/mount.c. Signed-off-by: Bin Wang --- fs/sysfs/mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Hi G

[PATCH 1/1] sysfs: Fixed a trailing white space error

2012-12-06 Thread Bin Wang
This patch removes the trailing white space in fs/sysfs/mount.c. Signed-off-by: Bin Wang --- fs/sysfs/mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/sysfs/mount.c b/fs/sysfs/mount.c index 71eb7e2..24bfcb4 100644 --- a/fs/sysfs/mount.c +++ b/fs/sysfs/mount.c

[PATCH] sysfs: Fixed a trailing white space error

2012-12-06 Thread Bin Wang
This patch removes the trailing white space in fs/sysfs/mount.c. Signed-off-by: Bin Wang --- diff --git a/fs/sysfs/mount.c b/fs/sysfs/mount.c index 71eb7e2..24bfcb4 100644 --- a/fs/sysfs/mount.c +++ b/fs/sysfs/mount.c @@ -10,7 +10,7 @@ * Please see Documentation/filesystems/sysfs.txt for more