[SCSI] gdth: don't map zero-length requests
authorJenx Axboe <axboe@suse.de>
Sun, 5 Feb 2006 15:36:23 +0000 (16:36 +0100)
committer <jejb@mulgrave.il.steeleye.com> <>
Sun, 5 Feb 2006 18:59:29 +0000 (12:59 -0600)
commit40cdc840dc337cb17d81bcf028b40834e78c1038
tree6d8bb794620cfe0c1daf3d35cb7ac8ab5d95ebf9
parentf9876f0b67c3f0b04ee2167602df54e7ae139ad7
[SCSI] gdth: don't map zero-length requests

Don't map zero-length requests in gdth, zome architectures don't like
that in their dma mapping routines.

[ I'm pretty sure Jens posted this before, but for some reason it got
  forgotten  --hch ]

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/gdth.c