Commit 79841dae authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ioctl32 fix to SG_IO

From: Arun Sharma <arun.sharma@intel.com>

A minor bug fix to the ioctl32 code handling SG_IO.  sgio->dxferp is not
initialzed properly.
parent c9a57afa
......@@ -1035,6 +1035,7 @@ static int sg_build_iovec(sg_io_hdr_t *sgio, void *dxferp, u16 iovec_count)
return -EFAULT;
}
sgio->dxferp = iov;
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment