linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] f2fs: add missing pretech.h include
@ 2012-12-27 14:30 Heiko Carstens
  2012-12-27 14:34 ` Heiko Carstens
  0 siblings, 1 reply; 3+ messages in thread
From: Heiko Carstens @ 2012-12-27 14:30 UTC (permalink / raw)
  To: Jaegeuk Kim, Namjae Jeon; +Cc: linux-kernel, linux-fsdevel

>From aa027f06dfb5b2fd27d6f92391d8340df671e82b Mon Sep 17 00:00:00 2001
From: Heiko Carstens <heiko.carstens@de.ibm.com>
Date: Thu, 27 Dec 2012 15:22:27 +0100
Subject: [PATCH] f2fs: add missing pretech.h include

Fix these compile errors on s390:

fs/f2fs/data.c: In function 'read_end_io':
fs/f2fs/data.c:311:4: error: implicit declaration of function 'prefetchw' [-Werror=implicit-function-declaration]
fs/f2fs/segment.c: In function 'f2fs_end_io_write':
fs/f2fs/segment.c:628:4: error: implicit declaration of function 'prefetchw' [-Werror=implicit-function-declaration]

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
---
 fs/f2fs/data.c    | 1 +
 fs/f2fs/segment.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c
index 655aeab..f5d2c62 100644
--- a/fs/f2fs/data.c
+++ b/fs/f2fs/data.c
@@ -13,6 +13,7 @@
 #include <linux/buffer_head.h>
 #include <linux/mpage.h>
 #include <linux/writeback.h>
+#include <linux/prefetch.h>
 #include <linux/backing-dev.h>
 #include <linux/blkdev.h>
 #include <linux/bio.h>
diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c
index 1b26e4e..cc28975 100644
--- a/fs/f2fs/segment.c
+++ b/fs/f2fs/segment.c
@@ -12,6 +12,7 @@
 #include <linux/f2fs_fs.h>
 #include <linux/bio.h>
 #include <linux/blkdev.h>
+#include <linux/prefetch.h>
 #include <linux/vmalloc.h>
 
 #include "f2fs.h"
-- 
1.7.12.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] f2fs: add missing pretech.h include
  2012-12-27 14:30 [PATCH] f2fs: add missing pretech.h include Heiko Carstens
@ 2012-12-27 14:34 ` Heiko Carstens
  2012-12-28  0:48   ` Jaegeuk Kim
  0 siblings, 1 reply; 3+ messages in thread
From: Heiko Carstens @ 2012-12-27 14:34 UTC (permalink / raw)
  To: Jaegeuk Kim, Namjae Jeon; +Cc: linux-kernel, linux-fsdevel

On Thu, Dec 27, 2012 at 03:30:32PM +0100, Heiko Carstens wrote:
> From aa027f06dfb5b2fd27d6f92391d8340df671e82b Mon Sep 17 00:00:00 2001
> From: Heiko Carstens <heiko.carstens@de.ibm.com>
> Date: Thu, 27 Dec 2012 15:22:27 +0100
> Subject: [PATCH] f2fs: add missing pretech.h include

That should have been "prefetch.h", obviously...
At least the patch is correct.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] f2fs: add missing pretech.h include
  2012-12-27 14:34 ` Heiko Carstens
@ 2012-12-28  0:48   ` Jaegeuk Kim
  0 siblings, 0 replies; 3+ messages in thread
From: Jaegeuk Kim @ 2012-12-28  0:48 UTC (permalink / raw)
  To: Heiko Carstens; +Cc: Namjae Jeon, linux-kernel, linux-fsdevel

[-- Attachment #1: Type: text/plain, Size: 615 bytes --]

2012-12-27 (목), 15:34 +0100, Heiko Carstens:
> On Thu, Dec 27, 2012 at 03:30:32PM +0100, Heiko Carstens wrote:
> > From aa027f06dfb5b2fd27d6f92391d8340df671e82b Mon Sep 17 00:00:00 2001
> > From: Heiko Carstens <heiko.carstens@de.ibm.com>
> > Date: Thu, 27 Dec 2012 15:22:27 +0100
> > Subject: [PATCH] f2fs: add missing pretech.h include
> 
> That should have been "prefetch.h", obviously...
> At least the patch is correct.

Hi,
This was fixed by Geert Uytterhoeven before.
I'm supposed to push other bug fixes with this to linus today.
Anyway, thank you very much. :)

-- 
Jaegeuk Kim
Samsung

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-12-28  0:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-27 14:30 [PATCH] f2fs: add missing pretech.h include Heiko Carstens
2012-12-27 14:34 ` Heiko Carstens
2012-12-28  0:48   ` Jaegeuk Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).