diff options
author | Douglas Gilbert <dougg@torque.net> | 2005-09-01 21:50:02 +1000 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-09-04 19:46:03 -0500 |
commit | deb92b7ee98e8e580cafaa63bd1edbe6646877bc (patch) | |
tree | d9f5210e78095048a2ba8a0cd90b19116d1a894f /drivers/video/amifb.c | |
parent | 07542b832309b93a2741cd162a391ab909f66438 (diff) | |
download | blackbird-op-linux-deb92b7ee98e8e580cafaa63bd1edbe6646877bc.tar.gz blackbird-op-linux-deb92b7ee98e8e580cafaa63bd1edbe6646877bc.zip |
[SCSI] sg direct io/mmap oops, st sync
This patch adopts the same solution as proposed by Kai M. in
a post titled: "[PATCH] SCSI tape signed/unsigned fix".
The fix is in a function that the sg driver borrowed from
the st driver so its maintenance is a little easier if
the functions remain the same after the fix.
- change nr_pages type from unsigned to signed so errors
from get_user_pages() call are properly handled
Signed-off-by: Douglas Gilbert <dougg@torque.net>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/video/amifb.c')
0 files changed, 0 insertions, 0 deletions