lib/raid6: fix sparse warnings in recovery functions
authorJim Kukunas <james.t.kukunas@linux.intel.com>
Mon, 28 May 2012 04:10:22 +0000 (14:10 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 28 May 2012 04:10:22 +0000 (14:10 +1000)
commit2aa4ee2a8805ec0260dde971e9e6699917c868a7
tree387ae430fbdeece7ff0335152abacdf525c5e820
parent1e2aec873ad6d16538512dbb96853caa1fa076af
lib/raid6: fix sparse warnings in recovery functions

Make the recovery functions static to fix the following sparse warnings:

lib/raid6/recov.c:25:6: warning: symbol 'raid6_2data_recov_intx1' was
not declared. Should it be static?
lib/raid6/recov.c:69:6: warning: symbol 'raid6_datap_recov_intx1' was
not declared. Should it be static?
lib/raid6/recov_ssse3.c:22:6: warning: symbol 'raid6_2data_recov_ssse3'
was not declared. Should it be static?
lib/raid6/recov_ssse3.c:197:6: warning: symbol 'raid6_datap_recov_ssse3'
was not declared. Should it be static?

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Jim Kukunas <james.t.kukunas@linux.intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
lib/raid6/recov.c
lib/raid6/recov_ssse3.c