nightly build: Build fcst against recent kernels too / fix a sparse warning

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4184 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2012-04-03 17:00:08 +00:00
parent 3e65060c5a
commit 6a6fe9af43
+17 -1
View File
@@ -342,7 +342,7 @@ if [ "$include_proc_impl" != "true" ]; then
else
cat
fi | \
if [ -e "${fcst_patch_series}" ]; then
if [ "${include_fcst}" ]; then
cat
else
sed -e 's: fcst/* : :'
@@ -409,6 +409,22 @@ done \
do
add_file "${f}" "drivers/scst/fcst/${f#fcst/}"
done
cat <<EOF
diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h
index 8f9dfba..efbfe19 100644
--- a/include/scsi/libfc.h
+++ b/include/scsi/libfc.h
@@ -902,7 +902,7 @@ struct fc_lport {
struct mutex lp_mutex;
struct list_head list;
struct delayed_work retry_work;
- void *prov[FC_FC4_PROV_SIZE];
+ void __rcu *prov[FC_FC4_PROV_SIZE];
struct list_head lport_list;
};
EOF
} \
| process_patch "fcst.diff"