* [PATCH -next] mm/madvise: remove duplicate include
@ 2020-09-15 12:15 YueHaibing
2020-09-21 12:11 ` Mike Rapoport
0 siblings, 1 reply; 3+ messages in thread
From: YueHaibing @ 2020-09-15 12:15 UTC (permalink / raw)
To: akpm, minchan; +Cc: linux-mm, linux-kernel, YueHaibing
Remove duplicate header which is included twice.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
mm/madvise.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/mm/madvise.c b/mm/madvise.c
index 460e19d60ba3..9bd21f9019d9 100644
--- a/mm/madvise.c
+++ b/mm/madvise.c
@@ -30,7 +30,6 @@
#include <linux/swapops.h>
#include <linux/shmem_fs.h>
#include <linux/mmu_notifier.h>
-#include <linux/sched/mm.h>
#include <asm/tlb.h>
--
2.17.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH -next] mm/madvise: remove duplicate include
2020-09-15 12:15 [PATCH -next] mm/madvise: remove duplicate include YueHaibing
@ 2020-09-21 12:11 ` Mike Rapoport
0 siblings, 0 replies; 3+ messages in thread
From: Mike Rapoport @ 2020-09-21 12:11 UTC (permalink / raw)
To: YueHaibing; +Cc: akpm, minchan, linux-mm, linux-kernel
On Tue, Sep 15, 2020 at 08:15:50PM +0800, YueHaibing wrote:
> Remove duplicate header which is included twice.
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---
> mm/madvise.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/mm/madvise.c b/mm/madvise.c index
> 460e19d60ba3..9bd21f9019d9 100644 --- a/mm/madvise.c +++
> b/mm/madvise.c @@ -30,7 +30,6 @@ #include <linux/swapops.h>
> #include <linux/shmem_fs.h>
> #include <linux/mmu_notifier.h>
> -#include <linux/sched/mm.h>
To what version does this apply?
I cannot find duplicate sched/mm.h neither in v5.9-rc6 nor in mmotm
>
> #include <asm/tlb.h>
>
> --
> 2.17.1
>
>
>
--
Sincerely yours,
Mike.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH -next] mm/madvise: Remove duplicate include
@ 2020-08-18 11:44 YueHaibing
0 siblings, 0 replies; 3+ messages in thread
From: YueHaibing @ 2020-08-18 11:44 UTC (permalink / raw)
To: akpm, minchan; +Cc: linux-mm, linux-kernel, YueHaibing
Remove duplicate header which is included twice.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
mm/madvise.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/mm/madvise.c b/mm/madvise.c
index 843f6fad3b89..fda6164db356 100644
--- a/mm/madvise.c
+++ b/mm/madvise.c
@@ -29,7 +29,6 @@
#include <linux/swapops.h>
#include <linux/shmem_fs.h>
#include <linux/mmu_notifier.h>
-#include <linux/sched/mm.h>
#include <linux/uio.h>
#include <asm/tlb.h>
--
2.17.1
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-09-21 12:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-15 12:15 [PATCH -next] mm/madvise: remove duplicate include YueHaibing
2020-09-21 12:11 ` Mike Rapoport
-- strict thread matches above, loose matches on Subject: below --
2020-08-18 11:44 [PATCH -next] mm/madvise: Remove " YueHaibing
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox