From 66770e6a0265bcaded14db20ddca9b686c409341 Mon Sep 17 00:00:00 2001 From: Antony Pavlov Date: Wed, 17 Feb 2016 00:13:59 +0300 Subject: fs: ext4: make locally used ext4fs_get_indir_block() static The patch fixes this compiler's warning: CC fs/ext4/ext4_common.o fs/ext4/ext4_common.c:130:5: warning: no previous prototype for 'ext4fs_get_indir_block' [-Wmissing-prototypes] int ext4fs_get_indir_block(struct ext2fs_node *node, struct ext4fs_indir_block *indir, int blkno) ^ Signed-off-by: Antony Pavlov Signed-off-by: Sascha Hauer --- fs/ext4/ext4_common.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'fs') diff --git a/fs/ext4/ext4_common.c b/fs/ext4/ext4_common.c index 590f54d5d8..1ecbb8dfb7 100644 --- a/fs/ext4/ext4_common.c +++ b/fs/ext4/ext4_common.c @@ -127,7 +127,8 @@ int ext4fs_read_inode(struct ext2_data *data, int ino, struct ext2_inode *inode) return 0; } -int ext4fs_get_indir_block(struct ext2fs_node *node, struct ext4fs_indir_block *indir, int blkno) +static int ext4fs_get_indir_block(struct ext2fs_node *node, + struct ext4fs_indir_block *indir, int blkno) { struct ext_filesystem *fs = node->data->fs; int blksz; -- cgit v1.2.3 From b4d8ee6876b7a62f1811030d3940083569ba9b9e Mon Sep 17 00:00:00 2001 From: Antony Pavlov Date: Fri, 19 Feb 2016 17:10:46 +0300 Subject: fs: fat: fix copy-paste typo Signed-off-by: Antony Pavlov Signed-off-by: Sascha Hauer --- fs/fat/fat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fs') diff --git a/fs/fat/fat.c b/fs/fat/fat.c index ece937d443..49cd78ff92 100644 --- a/fs/fat/fat.c +++ b/fs/fat/fat.c @@ -1,7 +1,7 @@ /* - * ramfs.c - a malloc based filesystem + * fat.c - FAT filesystem barebox driver * - * Copyright (c) 2007 Sascha Hauer , Pengutronix + * Copyright (c) 2011 Sascha Hauer , Pengutronix * * See file CREDITS for list of people who contributed to this * project. -- cgit v1.2.3