Skip to contentSkip to conversation

linux-next: build failure after merge of the akpm-current tree

PATCH Stephen Rothwell 1 participant 1 message Mar 13, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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 <[email protected]>
Date: Fri, 13 Mar 2015 17:00:15 +1100
Subject: [PATCH] fs/fat: put one actually necessary include file back

---
 fs/fat/inode.c | 1 +
 1 file changed, 1 insertion(+)
fs/fat/inode.c +1 -0
index 2c99d01a7018..c71b00fbca28 100644
@@ -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"
Signature · 5 lines
2.1.4

-- 
Cheers,
Stephen Rothwell                    [email protected]