From: Randy Dunlap <rdunlap@xenotime.net>
To: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org
Cc: James.Bottomley@suse.de
Subject: [PATCH 8/10] scsi_scan.c: fix/convert functions to use kernel-doc
Date: Mon, 17 May 2010 16:21:11 -0700 [thread overview]
Message-ID: <12741384712698@xenotime.net> (raw)
In-Reply-To: <12741384711166@xenotime.net>
From: Randy Dunlap <randy.dunlap@oracle.com>
scsi_scan.c: fix incorrectly formatted kernel-doc notation
& convert documentation of 2 functions into kernel-doc.
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
drivers/scsi/scsi_scan.c | 26 +++++++++-----------------
1 file changed, 9 insertions(+), 17 deletions(-)
--- lnx-2634-docs.orig/drivers/scsi/scsi_scan.c
+++ lnx-2634-docs/drivers/scsi/scsi_scan.c
@@ -1221,7 +1221,7 @@ static void scsi_sequential_lun_scan(str
}
/**
- * scsilun_to_int: convert a scsi_lun to an int
+ * scsilun_to_int - convert a scsi_lun to an int
* @scsilun: struct scsi_lun to be converted.
*
* Description:
@@ -1253,7 +1253,7 @@ int scsilun_to_int(struct scsi_lun *scsi
EXPORT_SYMBOL(scsilun_to_int);
/**
- * int_to_scsilun: reverts an int into a scsi_lun
+ * int_to_scsilun - reverts an int into a scsi_lun
* @lun: integer to be reverted
* @scsilun: struct scsi_lun to be set.
*
@@ -1877,12 +1877,9 @@ void scsi_forget_host(struct Scsi_Host *
spin_unlock_irqrestore(shost->host_lock, flags);
}
-/*
- * Function: scsi_get_host_dev()
- *
- * Purpose: Create a scsi_device that points to the host adapter itself.
- *
- * Arguments: SHpnt - Host that needs a scsi_device
+/**
+ * scsi_get_host_dev - Create a scsi_device that points to the host adapter itself
+ * @shost: Host that needs a scsi_device
*
* Lock status: None assumed.
*
@@ -1895,7 +1892,7 @@ void scsi_forget_host(struct Scsi_Host *
*
* Note - this device is not accessible from any high-level
* drivers (including generics), which is probably not
- * optimal. We can add hooks later to attach
+ * optimal. We can add hooks later to attach.
*/
struct scsi_device *scsi_get_host_dev(struct Scsi_Host *shost)
{
@@ -1921,18 +1918,13 @@ struct scsi_device *scsi_get_host_dev(st
}
EXPORT_SYMBOL(scsi_get_host_dev);
-/*
- * Function: scsi_free_host_dev()
- *
- * Purpose: Free a scsi_device that points to the host adapter itself.
- *
- * Arguments: SHpnt - Host that needs a scsi_device
+/**
+ * scsi_free_host_dev - Free a scsi_device that points to the host adapter itself
+ * @sdev: Host device to be freed
*
* Lock status: None assumed.
*
* Returns: Nothing
- *
- * Notes:
*/
void scsi_free_host_dev(struct scsi_device *sdev)
{
--
next prev parent reply other threads:[~2010-05-17 23:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-17 23:21 [PATCH 0/10] documentation patch queue for 2.6.35 merge window Randy Dunlap
2010-05-17 23:21 ` [PATCH 4/10] Documentation/sysrq.txt: update KEY_SYSRQ info Randy Dunlap
2010-05-17 23:21 ` [PATCH 5/10] Documentation/timers/hpet_example: drop duplicate header files Randy Dunlap
2010-05-17 23:21 ` Randy Dunlap [this message]
2010-05-17 23:21 ` [PATCH 3/10] Documentation/development-process: add staging & mmotm info Randy Dunlap
2010-05-17 23:21 ` [PATCH 10/10] Documentation: update SubmitChecklist for O=objdir and kconfig testing Randy Dunlap
2010-05-17 23:21 ` [PATCH 6/10] Documentation/vm: use better value for MAP_HUGETLB Randy Dunlap
2010-05-17 23:21 ` [PATCH 7/10] scsi: update torque.net references to current location Randy Dunlap
2010-05-17 23:21 ` [PATCH 1/10] docbook: make mtd nand module init static Randy Dunlap
2010-05-17 23:21 ` [PATCH 9/10] fusion: fix kernel-doc notation Randy Dunlap
2010-05-17 23:21 ` [PATCH 2/10] Documentation/development-process: add maintainers and git info Randy Dunlap
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=12741384712698@xenotime.net \
--to=rdunlap@xenotime.net \
--cc=James.Bottomley@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.