aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libsas/sas_expander.c
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2018-02-22 16:49:59 -0500
committerMartin K. Petersen <martin.petersen@oracle.com>2018-02-27 21:15:16 -0500
commit121246ae93a1ef37b358da43155c1cc4f33eab37 (patch)
treea8483a8fbfe6c4f72f9371c51c54a684635822da /drivers/scsi/libsas/sas_expander.c
parentcf8037f8d08a078d263a9b725e3ae7603ad0d42e (diff)
scsi: libsas: Fix kernel-doc headers
Avoid that building with W=1 causes the kernel-doc tool to complain about function arguments that have not been documented in the libsas kernel-doc headers. Avoid that the short description starts with a hyphen by changing "--" into "-" in the first line of the kernel-doc headers. Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Cc: John Garry <john.garry@huawei.com> Reviewed-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/libsas/sas_expander.c')
-rw-r--r--drivers/scsi/libsas/sas_expander.c29
1 files changed, 15 insertions, 14 deletions
diff --git a/drivers/scsi/libsas/sas_expander.c b/drivers/scsi/libsas/sas_expander.c
index 6a4f8198b78e..8b7114348def 100644
--- a/drivers/scsi/libsas/sas_expander.c
+++ b/drivers/scsi/libsas/sas_expander.c
@@ -1170,9 +1170,9 @@ static int sas_check_level_subtractive_boundary(struct domain_device *dev)
1170 return 0; 1170 return 0;
1171} 1171}
1172/** 1172/**
1173 * sas_ex_discover_devices -- discover devices attached to this expander 1173 * sas_ex_discover_devices - discover devices attached to this expander
1174 * dev: pointer to the expander domain device 1174 * @dev: pointer to the expander domain device
1175 * single: if you want to do a single phy, else set to -1; 1175 * @single: if you want to do a single phy, else set to -1;
1176 * 1176 *
1177 * Configure this expander for use with its devices and register the 1177 * Configure this expander for use with its devices and register the
1178 * devices of this expander. 1178 * devices of this expander.
@@ -1528,10 +1528,11 @@ static int sas_configure_phy(struct domain_device *dev, int phy_id,
1528} 1528}
1529 1529
1530/** 1530/**
1531 * sas_configure_parent -- configure routing table of parent 1531 * sas_configure_parent - configure routing table of parent
1532 * parent: parent expander 1532 * @parent: parent expander
1533 * child: child expander 1533 * @child: child expander
1534 * sas_addr: SAS port identifier of device directly attached to child 1534 * @sas_addr: SAS port identifier of device directly attached to child
1535 * @include: whether or not to include @child in the expander routing table
1535 */ 1536 */
1536static int sas_configure_parent(struct domain_device *parent, 1537static int sas_configure_parent(struct domain_device *parent,
1537 struct domain_device *child, 1538 struct domain_device *child,
@@ -1570,9 +1571,9 @@ static int sas_configure_parent(struct domain_device *parent,
1570} 1571}
1571 1572
1572/** 1573/**
1573 * sas_configure_routing -- configure routing 1574 * sas_configure_routing - configure routing
1574 * dev: expander device 1575 * @dev: expander device
1575 * sas_addr: port identifier of device directly attached to the expander device 1576 * @sas_addr: port identifier of device directly attached to the expander device
1576 */ 1577 */
1577static int sas_configure_routing(struct domain_device *dev, u8 *sas_addr) 1578static int sas_configure_routing(struct domain_device *dev, u8 *sas_addr)
1578{ 1579{
@@ -1589,8 +1590,8 @@ static int sas_disable_routing(struct domain_device *dev, u8 *sas_addr)
1589} 1590}
1590 1591
1591/** 1592/**
1592 * sas_discover_expander -- expander discovery 1593 * sas_discover_expander - expander discovery
1593 * @ex: pointer to expander domain device 1594 * @dev: pointer to expander domain device
1594 * 1595 *
1595 * See comment in sas_discover_sata(). 1596 * See comment in sas_discover_sata().
1596 */ 1597 */
@@ -2111,8 +2112,8 @@ static int sas_rediscover(struct domain_device *dev, const int phy_id)
2111} 2112}
2112 2113
2113/** 2114/**
2114 * sas_revalidate_domain -- revalidate the domain 2115 * sas_ex_revalidate_domain - revalidate the domain
2115 * @port: port to the domain of interest 2116 * @port_dev: port domain device.
2116 * 2117 *
2117 * NOTE: this process _must_ quit (return) as soon as any connection 2118 * NOTE: this process _must_ quit (return) as soon as any connection
2118 * errors are encountered. Connection recovery is done elsewhere. 2119 * errors are encountered. Connection recovery is done elsewhere.