mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-27 19:37:17 +00:00
scst, ib_srpt: Add support for kernel version v5.1
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8064 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
+1
-1
@@ -3231,7 +3231,7 @@ static int srpt_map_sg_to_ib_sge(struct srpt_rdma_ch *ch,
|
||||
struct srpt_send_ioctx *ioctx,
|
||||
struct scst_cmd *cmd)
|
||||
{
|
||||
struct ib_device *dev;
|
||||
struct ib_device *dev __maybe_unused;
|
||||
struct scatterlist *sg, *cur_sg;
|
||||
int sg_cnt;
|
||||
scst_data_direction dir;
|
||||
|
||||
Reference in New Issue
Block a user