From: Phil Sutter Date: Fri, 28 Nov 2008 19:48:35 +0000 (+0100) Subject: [libata] pata_rb532_cf: fix signature of the xfer function X-Git-Tag: v2.6.28-rc7~26^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03f60840fa462e92220b093f778b2426ceab23af;p=pandora-kernel.git [libata] pata_rb532_cf: fix signature of the xfer function Per definition, this function should return the number of bytes consumed. As the original parameter "buflen" is being decremented inside the read/write loop, save it in "retlen" at the beginning. Signed-off-by: Phil Sutter Acked-by: Sergei Shtyltov Acked-by: Bartlomiej Zolnierkiewicz Acked-by: Florian Fainelli Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed