From mboxrd@z Thu Jan 1 00:00:00 1970 From: Max Filippov Subject: Re: [PATCH 07/16 v2] f2fs: add segment operations Date: Tue, 23 Oct 2012 07:02:30 +0400 Message-ID: <508608C6.7050605@gmail.com> References: <001001cdb0c5$2ac96520$805c2f60$%kim@samsung.com> <001701cdb0c6$21c2a530$6547ef90$%kim@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, viro@zeniv.linux.org.uk, arnd@arndb.de, tytso@mit.edu, chur.lee@samsung.com, cm224.lee@samsung.com, jooyoung.hwang@samsung.com To: Jaegeuk Kim Return-path: In-Reply-To: <001701cdb0c6$21c2a530$6547ef90$%kim@samsung.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Hi. Building f2fs for ARM gives the following error: CC fs/f2fs/segment.o CC fs/f2fs/recovery.o fs/f2fs/segment.c: In function 'build_sit_info': fs/f2fs/segment.c:1399:2: error: implicit declaration of function 'vzalloc' [-Werror=implicit-function-declaration] fs/f2fs/segment.c:1399:18: warning: assignment makes pointer from integer without a cast [enabled by default] fs/f2fs/segment.c:1419:22: warning: assignment makes pointer from integer without a cast [enabled by default] fs/f2fs/segment.c: In function 'destroy_sit_info': fs/f2fs/segment.c:1777:2: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration] cc1: some warnings being treated as errors The following fixes that: diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index 57d0931..5bab838 100644 --- a/fs/f2fs/segment.c +++ b/fs/f2fs/segment.c @@ -12,6 +12,7 @@ #include #include #include +#include #include "f2fs.h" #include "segment.h" -- Thanks. -- Max