]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: fix static checker warnings
authorJeff Mahoney <jeffm@suse.com>
Wed, 20 Nov 2013 21:50:23 +0000 (16:50 -0500)
committerChris Mason <clm@fb.com>
Tue, 28 Jan 2014 21:19:44 +0000 (13:19 -0800)
commit2692e57513b5d05719ece640af9560f24bf207d7
tree80e54f4147fdb9c8c292f8daeda83a1ff99c6314
parente06f46b365c2095b8029f278eb88e7baec8f1268
btrfs: fix static checker warnings

This patch fixes the following warnings:
fs/btrfs/extent-tree.c:6201:12: sparse: symbol 'get_raid_name' was not declared. Should it be static?
fs/btrfs/extent-tree.c:8430:9: error: format not a string literal and no format arguments [-Werror=format-security] get_raid_name(index));

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/extent-tree.c