From: Bartlomiej Zolnierkiewicz Date: Tue, 15 Jul 2008 19:21:51 +0000 (+0200) Subject: ide-scsi: fix handling of DMA errors in idescsi_pc_intr() X-Git-Tag: v2.6.27-rc1~1078^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c04bbc812b05b304a9118687d0e0a47e35f00d1d;p=pandora-kernel.git ide-scsi: fix handling of DMA errors in idescsi_pc_intr() Check return value of ->dma_end method and if there was a DMA error handle it accordingly (set PC_FLAG_DMA_ERROR pc flag, don't update pc->xferred and increase rq->errors). Also move debug message in the right place while at it. Cc: Borislav Petkov Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed