lkml.org 
[lkml]   [2015]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectlinux-next: build failure after merge of the akpm-current tree
Hi Andrew,

After merging the akpm-current tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

fs/fat/inode.c: In function 'fat_direct_IO':
fs/fat/inode.c:252:2: error: implicit declaration of function 'iov_iter_count' [-Werror=implicit-function-declaration]
size_t count = iov_iter_count(iter);
^

Caused by commit be33247df543 ("fs/fat: remove unnecessary includes").
Removing include files deemed "unnecessary" is fraught. Please see
Rule 1 in Documentation/SubmitChecklist.

I have added the following fix patch for today:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Fri, 13 Mar 2015 17:00:15 +1100
Subject: [PATCH] fs/fat: put one actually necessary include file back

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
fs/fat/inode.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/fs/fat/inode.c b/fs/fat/inode.c
index 2c99d01a7018..c71b00fbca28 100644
--- a/fs/fat/inode.c
+++ b/fs/fat/inode.c
@@ -16,6 +16,7 @@
#include <linux/vfs.h>
#include <linux/seq_file.h>
#include <linux/parser.h>
+#include <linux/uio.h>
#include <linux/blkdev.h>
#include <asm/unaligned.h>
#include "fat.h"
--
2.1.4
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2015-03-13 07:21    [W:0.022 / U:32.632 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site