summaryrefslogtreecommitdiff
path: root/lib/raid6/recov_ssse3.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-06-06 20:49:28 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-06-06 20:49:28 +0400
commit374916ed16180b8de388699704e827e7740be525 (patch)
tree5ef81883ac392c0ee57dd53cfdbc64e863844957 /lib/raid6/recov_ssse3.c
parent9e68447f5b38d6092a6feeeb713a6564e963e68b (diff)
parentaba336bd1d46d6b0404b06f6915ed76150739057 (diff)
downloadlinux-374916ed16180b8de388699704e827e7740be525.tar.xz
Merge tag 'md-3.5-fixes' of git://neil.brown.name/md
Pull two md fixes from NeilBrown: "One sparse-warning fix, one bugfix for 3.4-stable" * tag 'md-3.5-fixes' of git://neil.brown.name/md: md: raid1/raid10: fix problem with merge_bvec_fn lib/raid6: fix sparse warnings in recovery functions
Diffstat (limited to 'lib/raid6/recov_ssse3.c')
-rw-r--r--lib/raid6/recov_ssse3.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/raid6/recov_ssse3.c b/lib/raid6/recov_ssse3.c
index 37ae61930559..ecb710c0b4d9 100644
--- a/lib/raid6/recov_ssse3.c
+++ b/lib/raid6/recov_ssse3.c
@@ -19,8 +19,8 @@ static int raid6_has_ssse3(void)
boot_cpu_has(X86_FEATURE_SSSE3);
}
-void raid6_2data_recov_ssse3(int disks, size_t bytes, int faila, int failb,
- void **ptrs)
+static void raid6_2data_recov_ssse3(int disks, size_t bytes, int faila,
+ int failb, void **ptrs)
{
u8 *p, *q, *dp, *dq;
const u8 *pbmul; /* P multiplier table for B data */
@@ -194,7 +194,8 @@ void raid6_2data_recov_ssse3(int disks, size_t bytes, int faila, int failb,
}
-void raid6_datap_recov_ssse3(int disks, size_t bytes, int faila, void **ptrs)
+static void raid6_datap_recov_ssse3(int disks, size_t bytes, int faila,
+ void **ptrs)
{
u8 *p, *q, *dq;
const u8 *qmul; /* Q multiplier table */