Linux SCSI subsystem development
 help / color / mirror / Atom feed
* [PATCH 6/8] kernel-doc: fix scsi docbook
@ 2008-02-03 23:06 Randy.Dunlap
  2008-02-04  0:30 ` James Bottomley
  0 siblings, 1 reply; 3+ messages in thread
From: Randy.Dunlap @ 2008-02-03 23:06 UTC (permalink / raw)
  To: linux-scsi; +Cc: james.bottomley, akpm

From: Randy Dunlap <randy.dunlap@oracle.com>

Add missing function parameter descriptions.
Make function short description fit on one line as required.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
  drivers/scsi/scsi.c |    5 +++--
  1 file changed, 3 insertions(+), 2 deletions(-)

--- linux-2.6.24-git12.orig/drivers/scsi/scsi.c
+++ linux-2.6.24-git12/drivers/scsi/scsi.c
@@ -969,9 +969,10 @@ void starget_for_each_device(struct scsi
  EXPORT_SYMBOL(starget_for_each_device);

  /**
- * __starget_for_each_device  -  helper to walk all devices of a target
- *				 (UNLOCKED)
+ * __starget_for_each_device - helper to walk all devices of a target (UNLOCKED)
   * @starget:	target whose devices we want to iterate over.
+ * @data:	parameter for callback @fn()
+ * @fn:		callback function that is invoked for each device
   *
   * This traverses over each device of @starget.  It does _not_
   * take a reference on the scsi_device, so the whole loop must be

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 6/8] kernel-doc: fix scsi docbook
  2008-02-03 23:06 [PATCH 6/8] kernel-doc: fix scsi docbook Randy.Dunlap
@ 2008-02-04  0:30 ` James Bottomley
  2008-02-04  4:22   ` Randy.Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: James Bottomley @ 2008-02-04  0:30 UTC (permalink / raw)
  To: Randy.Dunlap; +Cc: linux-scsi, akpm


On Sun, 2008-02-03 at 15:06 -0800, Randy.Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@oracle.com>
> 
> Add missing function parameter descriptions.
> Make function short description fit on one line as required.
> 
> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
> ---
>   drivers/scsi/scsi.c |    5 +++--
>   1 file changed, 3 insertions(+), 2 deletions(-)
> 
> --- linux-2.6.24-git12.orig/drivers/scsi/scsi.c
> +++ linux-2.6.24-git12/drivers/scsi/scsi.c
> @@ -969,9 +969,10 @@ void starget_for_each_device(struct scsi
>   EXPORT_SYMBOL(starget_for_each_device);
> 
>   /**
> - * __starget_for_each_device  -  helper to walk all devices of a target
> - *				 (UNLOCKED)
> + * __starget_for_each_device - helper to walk all devices of a target (UNLOCKED)
>    * @starget:	target whose devices we want to iterate over.
> + * @data:	parameter for callback @fn()
> + * @fn:		callback function that is invoked for each device
>    *
>    * This traverses over each device of @starget.  It does _not_
>    * take a reference on the scsi_device, so the whole loop must be
^^^^^
I have this, but it's a bit mysterious: something added an extra space
to the non +/- lines making the patch reject.  I pulled it out by hand
and it applied fine.

James



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 6/8] kernel-doc: fix scsi docbook
  2008-02-04  0:30 ` James Bottomley
@ 2008-02-04  4:22   ` Randy.Dunlap
  0 siblings, 0 replies; 3+ messages in thread
From: Randy.Dunlap @ 2008-02-04  4:22 UTC (permalink / raw)
  To: James Bottomley; +Cc: Randy.Dunlap, linux-scsi, akpm

On Sun, 3 Feb 2008, James Bottomley wrote:

> On Sun, 2008-02-03 at 15:06 -0800, Randy.Dunlap wrote:
> > From: Randy Dunlap <randy.dunlap@oracle.com>
> > 
> > Add missing function parameter descriptions.
> > Make function short description fit on one line as required.
> > 
> > Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
> > ---
> >   drivers/scsi/scsi.c |    5 +++--
> >   1 file changed, 3 insertions(+), 2 deletions(-)
> > 
> > --- linux-2.6.24-git12.orig/drivers/scsi/scsi.c
> > +++ linux-2.6.24-git12/drivers/scsi/scsi.c
> > @@ -969,9 +969,10 @@ void starget_for_each_device(struct scsi
> >   EXPORT_SYMBOL(starget_for_each_device);
> > 
> >   /**
> > - * __starget_for_each_device  -  helper to walk all devices of a target
> > - *				 (UNLOCKED)
> > + * __starget_for_each_device - helper to walk all devices of a target (UNLOCKED)
> >    * @starget:	target whose devices we want to iterate over.
> > + * @data:	parameter for callback @fn()
> > + * @fn:		callback function that is invoked for each device
> >    *
> >    * This traverses over each device of @starget.  It does _not_
> >    * take a reference on the scsi_device, so the whole loop must be
> ^^^^^
> I have this, but it's a bit mysterious: something added an extra space
> to the non +/- lines making the patch reject.  I pulled it out by hand
> and it applied fine.

Thanks.  I think that I had a pine config error that caused the problem.
Should be fixed now.

-- 
~Randy

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-02-04  4:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-03 23:06 [PATCH 6/8] kernel-doc: fix scsi docbook Randy.Dunlap
2008-02-04  0:30 ` James Bottomley
2008-02-04  4:22   ` Randy.Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox