git: 4598cbd8dd94 - stable/12 - isci(4): Fix common typos in source code comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 04 Nov 2022 05:07:39 UTC
The branch stable/12 has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=4598cbd8dd944297d774d0a97cc36f2838a4c2c1 commit 4598cbd8dd944297d774d0a97cc36f2838a4c2c1 Author: Gordon Bergling <gbe@FreeBSD.org> AuthorDate: 2022-11-01 07:34:11 +0000 Commit: Gordon Bergling <gbe@FreeBSD.org> CommitDate: 2022-11-04 05:07:10 +0000 isci(4): Fix common typos in source code comments - s/assinged/assigned/ (cherry picked from commit 816d5c1e98ffb71b20edce010050e0803b150e02) --- sys/dev/isci/scil/scic_sds_controller.c | 2 +- sys/dev/isci/scil/scic_sds_port.c | 4 ++-- sys/dev/isci/scil/scic_sds_port_configuration_agent.c | 2 +- sys/dev/isci/scil/scic_sds_remote_device.h | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/dev/isci/scil/scic_sds_controller.c b/sys/dev/isci/scil/scic_sds_controller.c index 2532d87a37db..1cb0d0301dec 100644 --- a/sys/dev/isci/scil/scic_sds_controller.c +++ b/sys/dev/isci/scil/scic_sds_controller.c @@ -3515,7 +3515,7 @@ SCIC_SDS_REQUEST_T *scic_sds_controller_get_io_request_from_tag( * the set of free remote node ids * @param[in] the_devce This is the device object which is requesting the a * remote node id - * @param[out] node_id This is the remote node id that is assinged to the + * @param[out] node_id This is the remote node id that is assigned to the * device if one is available * * @return SCI_STATUS diff --git a/sys/dev/isci/scil/scic_sds_port.c b/sys/dev/isci/scil/scic_sds_port.c index 938d82d48e46..04810e04088b 100644 --- a/sys/dev/isci/scil/scic_sds_port.c +++ b/sys/dev/isci/scil/scic_sds_port.c @@ -314,7 +314,7 @@ SCI_STATUS scic_sds_port_set_phy( { // Check to see if we can add this phy to a port // that means that the phy is not part of a port and that the port does - // not already have a phy assinged to the phy index. + // not already have a phy assigned to the phy index. if ( (port->phy_table[phy->phy_index] == SCI_INVALID_HANDLE) && (scic_sds_phy_get_port(phy) == SCI_INVALID_HANDLE) @@ -335,7 +335,7 @@ SCI_STATUS scic_sds_port_set_phy( /** * This method will clear the phy assigned to this port. This method fails - * if this phy is not currently assinged to this port. + * if this phy is not currently assigned to this port. * * @param[in, out] port The port from which the phy is being cleared. * @param[in, out] phy The phy being cleared from the port. diff --git a/sys/dev/isci/scil/scic_sds_port_configuration_agent.c b/sys/dev/isci/scil/scic_sds_port_configuration_agent.c index 3832898314f8..022c81492ac5 100644 --- a/sys/dev/isci/scil/scic_sds_port_configuration_agent.c +++ b/sys/dev/isci/scil/scic_sds_port_configuration_agent.c @@ -346,7 +346,7 @@ SCI_STATUS scic_sds_mpc_agent_validate_phy_configuration( if (phy_mask != 0) { - // Make sure that one or more of the phys were not already assinged to + // Make sure that one or more of the phys were not already assigned to // a different port. if ((phy_mask & ~assigned_phy_mask) == 0) { diff --git a/sys/dev/isci/scil/scic_sds_remote_device.h b/sys/dev/isci/scil/scic_sds_remote_device.h index 70107e99ba72..6eca23c857a5 100644 --- a/sys/dev/isci/scil/scic_sds_remote_device.h +++ b/sys/dev/isci/scil/scic_sds_remote_device.h @@ -232,14 +232,14 @@ typedef struct SCIC_SDS_REMOTE_DEVICE SCI_SAS_ADDRESS_T device_address; /** - * This filed is assinged the value of TRUE if the device is directly attached + * This filed is assigned the value of TRUE if the device is directly attached * to the port. */ BOOL is_direct_attached; #if !defined(DISABLE_ATAPI) /** - * This filed is assinged the value of TRUE if the device is an ATAPI device. + * This filed is assigned the value of TRUE if the device is an ATAPI device. */ BOOL is_atapi; #endif