Merge tag 'selinux-pr-20190312' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / Documentation / scsi / ufs.txt
index 78fe7cbfae480a1067ad0b92323a3f0519c0b7db..1769f71c4c203907abf2da3b94c5d322be269ab9 100644 (file)
@@ -150,9 +150,14 @@ send SG_IO with the applicable sg_io_v4:
        if (dir == SG_DXFER_TO_DEV) {
                io_hdr_v4.dout_xfer_len = (uint32_t)byte_cnt;
                io_hdr_v4.dout_xferp = (uintptr_t)(__u64)buff;
+       } else {
+               io_hdr_v4.din_xfer_len = (uint32_t)byte_cnt;
+               io_hdr_v4.din_xferp = (uintptr_t)(__u64)buff;
        }
 
-If you wish to write a descriptor, use the dout_xferp sg_io_v4.
+If you wish to read or write a descriptor, use the appropriate xferp of
+sg_io_v4.
+
 
 UFS Specifications can be found at,
 UFS - http://www.jedec.org/sites/default/files/docs/JESD220.pdf