Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit 3ed624f

Browse files
committed
Fix a few typos.
1 parent 07ed87d commit 3ed624f

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

psm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ typedef struct psm_error_token *psm_error_token_t;
275275
* individually set for each opened endpoint. By default, endpoints will
276276
* inherit the global handler registered at the time of open.
277277
*
278-
* [in] ep Handle associated to the endpoint over which the error occured
278+
* [in] ep Handle associated to the endpoint over which the error occurred
279279
* or NULL if the error is being handled by the global error
280280
* handler.
281281
* [in] error PSM error identifier

psm_error.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ psmi_error_items[] = {
251251
{ PSMI_NOLOG, "unknown 37" },
252252
{ PSMI_NOLOG, "unknown 38" },
253253
{ PSMI_NOLOG, "unknown 39" },
254-
{ PSMI_NOLOG, "Unknown/unresolved connection status (other errors occured)" }, /* PSM_EPID_UNKNOWN = 40 */
254+
{ PSMI_NOLOG, "Unknown/unresolved connection status (other errors occurred)" }, /* PSM_EPID_UNKNOWN = 40 */
255255
{ PSMI_NOLOG, "Endpoint could not be reached" }, /* PSM_EPID_UNREACHABLE = 41 */
256256
{ PSMI_NOLOG, "unknown 42" },
257257
{ LOG_CRIT , "Invalid node (mismatch in bit width 32/64 or byte order)" }, /* PSM_EPID_INVALID_NODE = 43 */

psm_mq.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ psm_mq_test(psm_mq_req_t *request, psm_mq_status_t *status);
552552
*
553553
* [retval] PSM_OK The request could be successfully cancelled such that the
554554
* preposted receive buffer could be removed from the preposted
555-
* receive queue before a match occured. The associated @c
555+
* receive queue before a match occurred. The associated @c
556556
* request remains unchanged and the user must still return
557557
* the storage to the MQ library.
558558
*

ptl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ struct ptl_ctl
130130
* ptl needs.
131131
* post 1: PTL marks error[i] as UNREACHABLE if PTL can't get to epid[i]
132132
* post 2: PTL marks error[i] as UNKNOWN for all epid[i] that couldn't be
133-
* connected before a timeout occured.
133+
* connected before a timeout occurred.
134134
* post 3: PTL returns OK iff all epids are either OK or UNREACHABLE
135135
* post 4: PTL defines content or epaddr[i] only if epaddr[i] is OK.
136136
*/

ptl_am/am_reqrep_shmem.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ psmi_shm_attach(psm_ep_t ep, int *shmidx_o)
541541
ips_mb();
542542

543543
ep->amsh_dirpage->is_init = 1;
544-
_IPATH_PRDBG("Mapped and initalized shm object control page at %p,"
544+
_IPATH_PRDBG("Mapped and initialized shm object control page at %p,"
545545
"size=%ld, kcopy minor is %d (mode=%s)\n", mapptr,
546546
segsz, kcopy_minor,
547547
psmi_kassist_getmode(ep->psmi_kassist_mode));

ptl_ips/ips_spio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ spio_update_shadow(struct ips_spio *ctrl, int index)
324324
}
325325

326326
if (event_mask & IPATH_EVENT_LID_CHANGE) {
327-
/* Display a warning that LID change has occured during the run. This
327+
/* Display a warning that LID change has occurred during the run. This
328328
* is not supported in the current implementation and in general is
329329
* bad for the SM to re-assign LIDs during a run.
330330
*/

0 commit comments

Comments
 (0)