On 07/12/15 07:06, Sebastian Herbszt wrote:
-                       spt = page_address(sg_page(sg)) + sg->offset;
-                       spt += j;
+                       pi = page_address(sg_page(sg)) + sg->offset;
+                       pi += j;

Sorry that I hadn't noticed this before but please use sg_virt() in the above code instead of open coding it.

Bart.
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to