[PATCH] libata-core.c: fix parameter bug on kunmap_atomic() calls
authorMark Lord <liml@rtr.ca>
Tue, 13 Dec 2005 04:19:28 +0000 (23:19 -0500)
committerJeff Garzik <jgarzik@pobox.com>
Tue, 13 Dec 2005 04:19:28 +0000 (23:19 -0500)
commitdfa159886f38344ede31e3b13ec614e0bebc09c6
tree6c6128df37860c42acf00c0bd76797de940a306c
parent0e670506668a43e1355b8f10c33d081a676bd521
[PATCH] libata-core.c:  fix parameter bug on kunmap_atomic() calls

Fix incorrect pointer usage on two calls to kunmap_atomic().
This seems to happen a lot, because kunmap() wants the struct page *,
whereas kunmap_atomic() instead wants the mapped virtual address.

Signed-off-by: Mark Lord <liml@rtr.ca>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/scsi/libata-core.c