summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/padlock-sha.c
diff options
context:
space:
mode:
authorSam Bradshaw <sbradshaw@micron.com>2013-05-15 10:09:05 +0200
committerJens Axboe <axboe@kernel.dk>2013-05-15 10:09:05 +0200
commit093c959307f2f5af72b24fdc4af7d4d0263f6eea (patch)
tree1ec8fc2b23452790a9ee4bdf14dd442d2ca97fb7 /drivers/crypto/padlock-sha.c
parentmtip32xx: Fix NULL pointer dereference during module unload (diff)
downloadlinux-093c959307f2f5af72b24fdc4af7d4d0263f6eea.tar.xz
linux-093c959307f2f5af72b24fdc4af7d4d0263f6eea.zip
mtip32xx: Correctly handle bio->bi_idx != 0 conditions
Stacking drivers may append bvecs to existing bio's, resulting in non-zero bi_idx conditions. This patch counts the loops of bio_for_each_segment() rather than inheriting the bi_idx value to pass as a segment count to the hardware submission routine. Signed-off-by: Sam Bradshaw <sbradshaw@micron.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/crypto/padlock-sha.c')
0 files changed, 0 insertions, 0 deletions