aboutsummaryrefslogtreecommitdiffstats
path: root/fs/f2fs/debug.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk.kim@samsung.com>2012-11-28 16:12:41 +0900
committerZiyan <jaraidaniel@gmail.com>2015-05-02 14:33:15 +0200
commit163e0886e17b1997d28b3c309d8618cb5a76424d (patch)
treec3194a330ca126c6c718f2e19e095d81ab78d233 /fs/f2fs/debug.c
parent0c5eb82e3b03e7c27077ba35ae1b4419ec386bd2 (diff)
downloadkernel_samsung_tuna-163e0886e17b1997d28b3c309d8618cb5a76424d.tar.gz
kernel_samsung_tuna-163e0886e17b1997d28b3c309d8618cb5a76424d.tar.bz2
kernel_samsung_tuna-163e0886e17b1997d28b3c309d8618cb5a76424d.zip
f2fs: fix endian conversion bugs reported by sparse
This patch should resolve the bugs reported by the sparse tool. Initial reports were written by "kbuild test robot" managed by fengguang.wu. In my local machines, I've tested also by running: > make C=2 CF="-D__CHECK_ENDIAN__" Accordingly, I've found lots of warnings and bugs related to the endian conversion. And I've fixed all at this moment. Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/debug.c')
-rw-r--r--fs/f2fs/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/debug.c b/fs/f2fs/debug.c
index a56181c1b28..fb62960a1dc 100644
--- a/fs/f2fs/debug.c
+++ b/fs/f2fs/debug.c
@@ -27,7 +27,7 @@
static LIST_HEAD(f2fs_stat_list);
static struct dentry *debugfs_root;
-void update_general_status(struct f2fs_sb_info *sbi)
+static void update_general_status(struct f2fs_sb_info *sbi)
{
struct f2fs_stat_info *si = sbi->stat_info;
int i;