Re: [PATCH] dc395x: dynamically map scatter-gather for PIO (take 2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 13 Apr 2006, Randy.Dunlap wrote:

> On Sun, 2 Apr 2006 21:57:43 +0200 (CEST) Guennadi Liakhovetski wrote:
> 
> > + * scsi_kmap_atomic_sg - find and atomically map an sg-elemnt
> 
> s/elemnt/element/

...

> > +/**
> > + * scsi_kunmap_atomic_sg - atomically unmap a virtual address, previously
> > + *			   mapped with scsi_kmap_atomic_sg
> 
> First line of function kernel-doc must be just one line long.  Sorry.  :(
> You can add more descriptive text after the parameter(s) plus one
> blank line if you want to do it that way.

Does the below look good?

James, I hope it will be close enough to your current scsi-misc...

Thanks
Guennadi
---
Guennadi Liakhovetski

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@xxxxxx>

diff -ur a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
--- a/drivers/scsi/scsi_lib.c	2006-04-20 00:42:59.000000000 +0200
+++ b/drivers/scsi/scsi_lib.c	2006-04-20 00:17:21.000000000 +0200
@@ -2352,7 +2352,7 @@
 EXPORT_SYMBOL_GPL(scsi_target_unblock);
 
 /**
- * scsi_kmap_atomic_sg - find and atomically map an sg-elemnt
+ * scsi_kmap_atomic_sg - find and atomically map an sg-element
  * @sg:		scatter-gather list
  * @sg_count:	number of segments in sg
  * @offset:	offset in bytes into sg, on return offset into the mapped area
@@ -2398,9 +2398,11 @@
 EXPORT_SYMBOL(scsi_kmap_atomic_sg);
 
 /**
- * scsi_kunmap_atomic_sg - atomically unmap a virtual address, previously
- *			   mapped with scsi_kmap_atomic_sg
+ * scsi_kunmap_atomic_sg - atomically unmap a virtual address
  * @virt:	virtual address to be unmapped
+ *
+ * unmap a virtual address, previously mapped with
+ * scsi_kmap_atomic_sg
  */
 void scsi_kunmap_atomic_sg(void *virt)
 {
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux