[SCSI] sg: fix incorrect last scatg length
authorDouglas Gilbert <dougg@torque.net>
Fri, 27 Oct 2006 21:47:49 +0000 (17:47 -0400)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Thu, 9 Nov 2006 05:28:01 +0000 (14:28 +0900)
For certain LLDs the sg driver can cause on oops
when the transfer length is large and not a
multiple of PAGE_SIZE.

  ChangeLog:
    - correct the length of the last scatter gather
      list element.
    - fix some printk()s that have the wrong function
      name.

Signed-off-by: Douglas Gilbert <dougg@torque.net>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>

No differences found