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>
This commit is contained in:
Bart Van Assche
2018-02-22 13:49:59 -08:00
committed by Martin K. Petersen
parent cf8037f8d0
commit 121246ae93
5 changed files with 27 additions and 24 deletions

View File

@@ -709,7 +709,7 @@ void sas_resume_sata(struct asd_sas_port *port)
}
/**
* sas_discover_sata -- discover an STP/SATA domain device
* sas_discover_sata - discover an STP/SATA domain device
* @dev: pointer to struct domain_device of interest
*
* Devices directly attached to a HA port, have no parents. All other