From d5e76d83cbc5b3cc05012d5800dd8cca3a505384 Mon Sep 17 00:00:00 2001 From: Jim Harris Date: Tue, 19 Jun 2018 03:56:11 -0700 Subject: [PATCH] doc: fix some doxygen warnings These were related to recent scsi.h and sock.h patches. Signed-off-by: Jim Harris Change-Id: I17db2eefcbf3ade7a5baad68fb2e12a9474c1ce0 Reviewed-on: https://review.gerrithub.io/416034 Tested-by: SPDK Automated Test System Reviewed-by: Ben Walker Reviewed-by: Daniel Verkamp --- include/spdk/scsi.h | 4 ++-- include/spdk/sock.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/spdk/scsi.h b/include/spdk/scsi.h index 2d437dfafe..be027089d6 100644 --- a/include/spdk/scsi.h +++ b/include/spdk/scsi.h @@ -207,7 +207,7 @@ int spdk_scsi_dev_get_id(const struct spdk_scsi_dev *dev); * Get the logical unit of the given SCSI device whose id is lun_id. * * \param dev SCSI device. - * \param id Id of the logical unit. + * \param lun_id Id of the logical unit. * * \return the logical unit on success, or NULL on failure. */ @@ -363,7 +363,7 @@ void spdk_scsi_port_free(struct spdk_scsi_port **pport); /** * Get the name of the SCSI port. * - * \param SCSI port to query. + * \param port SCSI port to query. * * \return the name of the SCSI port. */ diff --git a/include/spdk/sock.h b/include/spdk/sock.h index 1d46d082c4..6732372eee 100644 --- a/include/spdk/sock.h +++ b/include/spdk/sock.h @@ -54,7 +54,7 @@ struct spdk_sock_group; * \param saddr A pointer to the buffer to hold the address of server. * \param slen Length of the buffer 'saddr'. * \param caddr A pointer to the buffer to hold the address of client. - * \param slen Length of the buffer 'caddr'. + * \param clen Length of the buffer 'caddr'. * * \return 0 on success, -1 on failure. */