[PATCH -next] dm raid: make local symbol raid_sets static

From: Wei Yongjun
Date: Tue Jan 02 2018 - 01:12:51 EST


Fixes the following sparse warning:

drivers/md/dm-raid.c:33:1: warning:
symbol 'raid_sets' was not declared. Should it be static?

Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx>
---
drivers/md/dm-raid.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/md/dm-raid.c b/drivers/md/dm-raid.c
index a96ca44..7ef469e 100644
--- a/drivers/md/dm-raid.c
+++ b/drivers/md/dm-raid.c
@@ -30,7 +30,7 @@
#define MIN_RAID456_JOURNAL_SPACE (4*2048)

/* Global list of all raid sets */
-LIST_HEAD(raid_sets);
+static LIST_HEAD(raid_sets);

static bool devices_handle_discard_safely = false;