mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-17 12:46:27 +00:00
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:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user