@@ -147,7 +147,7 @@ enum nvme_mi_ror {
147147 * @NVME_MI_RESP_ENC_XFER_REFUSED: Enclosure services transfer refused
148148 * @NVME_MI_RESP_ENC_FUNC_UNSUP: Unsupported enclosure services function
149149 * @NVME_MI_RESP_ENC_SERV_UNAVAIL: Enclosure services unavailable
150- * @NVME_MI_RESP_ENC_DEGRADED: Noncriticial failure detected by enc. services
150+ * @NVME_MI_RESP_ENC_DEGRADED: Noncritical failure detected by enc. services
151151 * @NVME_MI_RESP_SANITIZE_IN_PROGRESS: Command prohibited during sanitize
152152 */
153153enum nvme_mi_resp_status {
@@ -523,7 +523,7 @@ nvme_mi_ctrl_t nvme_mi_next_ctrl(nvme_mi_ep_t ep, nvme_mi_ctrl_t c);
523523 * @netid: MCTP network ID on this system
524524 * @eid: MCTP endpoint ID
525525 *
526- * Transport-specific endpoint initialisation for MI-connected endpoints. Once
526+ * Transport-specific endpoint initialization for MI-connected endpoints. Once
527527 * an endpoint is created, the rest of the API is transport-independent.
528528 *
529529 * Return: New endpoint object for @netid & @eid, or NULL on failure.
@@ -543,8 +543,8 @@ void nvme_mi_close(nvme_mi_ep_t ep);
543543/**
544544 * nvme_mi_scan_mctp - look for MCTP-connected NVMe-MI endpoints.
545545 *
546- * Description: This function queries the system mctp daemon ("mctpd") over
547- * dbus , to find MCTP endpoints that report support for NVMe-MI over MCTP.
546+ * Description: This function queries the system MCTP daemon ("mctpd") over
547+ * D-Bus , to find MCTP endpoints that report support for NVMe-MI over MCTP.
548548 *
549549 * This requires libvnme-mi to be compiled with D-Bus support; if not, this
550550 * will return NULL.
@@ -577,7 +577,7 @@ int nvme_mi_scan_ep(nvme_mi_ep_t ep, bool force_rescan);
577577/**
578578 * nvme_mi_init_ctrl() - initialise a NVMe controller.
579579 * @ep: Endpoint to create under
580- * @ctrl_id: ID of controller to initialise .
580+ * @ctrl_id: ID of controller to initialize .
581581 *
582582 * Create a connection to a controller behind the endpoint specified in @ep.
583583 * Controller IDs may be queried from the endpoint through
@@ -706,7 +706,7 @@ int nvme_mi_mi_subsystem_health_status_poll(nvme_mi_ep_t ep, bool clear,
706706 * as the LSB of @dw0. Other @dw0 and @dw1 data is configuration-identifier
707707 * specific.
708708 *
709- * On a sucessful Configuration Get, the @nmresp pointer will be populated with
709+ * On a successful Configuration Get, the @nmresp pointer will be populated with
710710 * the bytes from the 3-byte NMRESP field, converted to native endian.
711711 *
712712 * See &enum nvme_mi_config_id for identifiers.
@@ -733,7 +733,7 @@ int nvme_mi_mi_config_get(nvme_mi_ep_t ep, __u32 dw0, __u32 dw1,
733733int nvme_mi_mi_config_set (nvme_mi_ep_t ep , __u32 dw0 , __u32 dw1 );
734734
735735/**
736- * nvme_mi_mi_config_get_smbus_freq - get configuraton : SMBus port frequency
736+ * nvme_mi_mi_config_get_smbus_freq - get configuration : SMBus port frequency
737737 * @ep: endpoint for MI communication
738738 * @port: port ID to query
739739 * @freq: output value for current frequency configuration
@@ -759,7 +759,7 @@ static inline int nvme_mi_mi_config_get_smbus_freq(nvme_mi_ep_t ep, __u8 port,
759759}
760760
761761/**
762- * nvme_mi_mi_config_set_smbus_freq - set configuraton : SMBus port frequency
762+ * nvme_mi_mi_config_set_smbus_freq - set configuration : SMBus port frequency
763763 * @ep: endpoint for MI communication
764764 * @port: port ID to set
765765 * @freq: new frequency configuration
@@ -805,7 +805,7 @@ static inline int nvme_mi_mi_config_set_health_status_change(nvme_mi_ep_t ep,
805805}
806806
807807/**
808- * nvme_mi_mi_config_get_mctp_mtu - get configuraton : MCTP MTU
808+ * nvme_mi_mi_config_get_mctp_mtu - get configuration : MCTP MTU
809809 * @ep: endpoint for MI communication
810810 * @port: port ID to query
811811 * @mtu: output value for current MCTP MTU configuration
@@ -836,7 +836,7 @@ static inline int nvme_mi_mi_config_get_mctp_mtu(nvme_mi_ep_t ep, __u8 port,
836836}
837837
838838/**
839- * nvme_mi_mi_config_set_mctp_mtu - set configuraton : MCTP MTU
839+ * nvme_mi_mi_config_set_mctp_mtu - set configuration : MCTP MTU
840840 * @ep: endpoint for MI communication
841841 * @port: port ID to set
842842 * @mtu: new MTU configuration
@@ -913,7 +913,7 @@ int nvme_mi_admin_xfer(nvme_mi_ctrl_t ctrl,
913913 * Unless you're performing a vendor-unique identify command, You'll probably
914914 * want to use one of the identify helpers (nvme_mi_admin_identify,
915915 * nvme_mi_admin_identify_cns_nsid, or nvme_mi_admin_identify_<type>) instead
916- * of this. If the type of your identify command is standardised but not
916+ * of this. If the type of your identify command is standardized but not
917917 * yet supported by libnvme-mi, please contact the maintainers.
918918 *
919919 * Return: 0 on success, non-zero on failure
@@ -995,7 +995,7 @@ static inline int nvme_mi_admin_identify_cns_nsid(nvme_mi_ctrl_t ctrl,
995995 *
996996 * Will return an error if the length of the response data (from the
997997 * controller) is not a full &NVME_IDENTIFY_DATA_SIZE, so @id will be
998- * be fully populated on success.
998+ * fully populated on success.
999999 *
10001000 * Return: 0 on success, non-zero on failure
10011001 *
@@ -1020,7 +1020,7 @@ static inline int nvme_mi_admin_identify_ctrl(nvme_mi_ctrl_t ctrl,
10201020 *
10211021 * Will return an error if the length of the response data (from the
10221022 * controller) is not a full &NVME_IDENTIFY_DATA_SIZE, so @id will be
1023- * be fully populated on success.
1023+ * fully populated on success.
10241024 *
10251025 * Return: 0 on success, non-zero on failure
10261026 *
0 commit comments