* [PATCH] madvise: fix checkpatch errors
@ 2013-07-11 7:00 Vladimir Cernov
2013-07-11 7:04 ` Pekka Enberg
2013-07-11 22:15 ` David Rientjes
0 siblings, 2 replies; 3+ messages in thread
From: Vladimir Cernov @ 2013-07-11 7:00 UTC (permalink / raw)
To: akpm
Cc: sasha.levin, linux, shli, khlebnikov, linux-mm, linux-kernel,
Vladimir Cernov
This fixes following errors:
- ERROR: "(foo*)" should be "(foo *)"
- ERROR: "foo ** bar" should be "foo **bar"
Signed-off-by: Vladimir Cernov <gg.kaspersky@gmail.com>
---
mm/madvise.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/mm/madvise.c b/mm/madvise.c
index 7055883..936799f 100644
--- a/mm/madvise.c
+++ b/mm/madvise.c
@@ -42,11 +42,11 @@ static int madvise_need_mmap_write(int behavior)
* We can potentially split a vm area into separate
* areas, each area with its own behavior.
*/
-static long madvise_behavior(struct vm_area_struct * vma,
+static long madvise_behavior(struct vm_area_struct *vma,
struct vm_area_struct **prev,
unsigned long start, unsigned long end, int behavior)
{
- struct mm_struct * mm = vma->vm_mm;
+ struct mm_struct *mm = vma->vm_mm;
int error = 0;
pgoff_t pgoff;
unsigned long new_flags = vma->vm_flags;
@@ -215,8 +215,8 @@ static void force_shm_swapin_readahead(struct vm_area_struct *vma,
/*
* Schedule all required I/O operations. Do not wait for completion.
*/
-static long madvise_willneed(struct vm_area_struct * vma,
- struct vm_area_struct ** prev,
+static long madvise_willneed(struct vm_area_struct *vma,
+ struct vm_area_struct **prev,
unsigned long start, unsigned long end)
{
struct file *file = vma->vm_file;
@@ -270,8 +270,8 @@ static long madvise_willneed(struct vm_area_struct * vma,
* An interface that causes the system to free clean pages and flush
* dirty pages is already available as msync(MS_INVALIDATE).
*/
-static long madvise_dontneed(struct vm_area_struct * vma,
- struct vm_area_struct ** prev,
+static long madvise_dontneed(struct vm_area_struct *vma,
+ struct vm_area_struct **prev,
unsigned long start, unsigned long end)
{
*prev = vma;
@@ -459,7 +459,7 @@ madvise_behavior_valid(int behavior)
SYSCALL_DEFINE3(madvise, unsigned long, start, size_t, len_in, int, behavior)
{
unsigned long end, tmp;
- struct vm_area_struct * vma, *prev;
+ struct vm_area_struct *vma, *prev;
int unmapped_error = 0;
int error = -EINVAL;
int write;
--
1.7.10.4
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] madvise: fix checkpatch errors
2013-07-11 7:00 [PATCH] madvise: fix checkpatch errors Vladimir Cernov
@ 2013-07-11 7:04 ` Pekka Enberg
2013-07-11 22:15 ` David Rientjes
1 sibling, 0 replies; 3+ messages in thread
From: Pekka Enberg @ 2013-07-11 7:04 UTC (permalink / raw)
To: Vladimir Cernov
Cc: Andrew Morton, Sasha Levin, linux, shli, Konstantin Khlebnikov,
linux-mm, LKML
On Thu, Jul 11, 2013 at 10:00 AM, Vladimir Cernov
<gg.kaspersky@gmail.com> wrote:
> This fixes following errors:
> - ERROR: "(foo*)" should be "(foo *)"
> - ERROR: "foo ** bar" should be "foo **bar"
>
> Signed-off-by: Vladimir Cernov <gg.kaspersky@gmail.com>
Reviewed-by: Pekka Enberg <penberg@kernel.org>
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] madvise: fix checkpatch errors
2013-07-11 7:00 [PATCH] madvise: fix checkpatch errors Vladimir Cernov
2013-07-11 7:04 ` Pekka Enberg
@ 2013-07-11 22:15 ` David Rientjes
1 sibling, 0 replies; 3+ messages in thread
From: David Rientjes @ 2013-07-11 22:15 UTC (permalink / raw)
To: Vladimir Cernov
Cc: akpm, sasha.levin, linux, shli, khlebnikov, linux-mm, linux-kernel
On Thu, 11 Jul 2013, Vladimir Cernov wrote:
> This fixes following errors:
> - ERROR: "(foo*)" should be "(foo *)"
> - ERROR: "foo ** bar" should be "foo **bar"
>
> Signed-off-by: Vladimir Cernov <gg.kaspersky@gmail.com>
Acked-by: David Rientjes <rientjes@google.com>
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-07-11 22:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-11 7:00 [PATCH] madvise: fix checkpatch errors Vladimir Cernov
2013-07-11 7:04 ` Pekka Enberg
2013-07-11 22:15 ` David Rientjes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox