File: 0002-Fix-a-few-typos.patch

package info (click to toggle)
infinipath-psm 3.3+19.g67c0807.open-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,644 kB
  • ctags: 4,684
  • sloc: ansic: 34,269; makefile: 334; asm: 47
file content (95 lines) | stat: -rw-r--r-- 4,057 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
From 3ed624f0c54414fcbce4c411f111e6e4da44a848 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ana=20Guerrero=20L=C3=B3pez?= <ana@ekaia.org>
Date: Fri, 1 Apr 2016 00:40:20 +0200
Subject: [PATCH] Fix a few typos.

---
 psm.h                    | 2 +-
 psm_error.c              | 2 +-
 psm_mq.h                 | 2 +-
 ptl.h                    | 2 +-
 ptl_am/am_reqrep_shmem.c | 2 +-
 ptl_ips/ips_spio.c       | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/psm.h b/psm.h
index 558648f..ca1200d 100644
--- a/psm.h
+++ b/psm.h
@@ -275,7 +275,7 @@ typedef struct psm_error_token	*psm_error_token_t;
  * individually set for each opened endpoint.  By default, endpoints will
  * inherit the global handler registered at the time of open. 
  *
- * [in] ep Handle associated to the endpoint over which the error occured
+ * [in] ep Handle associated to the endpoint over which the error occurred
  *               or NULL if the error is being handled by the global error
  *               handler.
  * [in] error PSM error identifier
diff --git a/psm_error.c b/psm_error.c
index 44c1cc5..6bcefcb 100644
--- a/psm_error.c
+++ b/psm_error.c
@@ -251,7 +251,7 @@ psmi_error_items[] = {
     { PSMI_NOLOG, "unknown 37" },
     { PSMI_NOLOG, "unknown 38" },
     { PSMI_NOLOG, "unknown 39" },
-    { PSMI_NOLOG, "Unknown/unresolved connection status (other errors occured)" }, /* PSM_EPID_UNKNOWN = 40 */
+    { PSMI_NOLOG, "Unknown/unresolved connection status (other errors occurred)" }, /* PSM_EPID_UNKNOWN = 40 */
     { PSMI_NOLOG, "Endpoint could not be reached" }, /* PSM_EPID_UNREACHABLE = 41 */
     { PSMI_NOLOG, "unknown 42" },
     { LOG_CRIT  , "Invalid node (mismatch in bit width 32/64 or byte order)" }, /* PSM_EPID_INVALID_NODE = 43 */
diff --git a/psm_mq.h b/psm_mq.h
index 497782e..dd90028 100644
--- a/psm_mq.h
+++ b/psm_mq.h
@@ -552,7 +552,7 @@ psm_mq_test(psm_mq_req_t *request, psm_mq_status_t *status);
  *
  * [retval] PSM_OK The request could be successfully cancelled such that the
  *                preposted receive buffer could be removed from the preposted
- *                receive queue before a match occured. The associated @c
+ *                receive queue before a match occurred. The associated @c
  *                request remains unchanged and the user must still return
  *                the storage to the MQ library.
  *
diff --git a/ptl.h b/ptl.h
index ea803ca..3aefcab 100644
--- a/ptl.h
+++ b/ptl.h
@@ -130,7 +130,7 @@ struct ptl_ctl
      *         ptl needs.
      * post 1: PTL marks error[i] as UNREACHABLE if PTL can't get to epid[i]
      * post 2: PTL marks error[i] as UNKNOWN for all epid[i] that couldn't be
-     *         connected before a timeout occured.
+     *         connected before a timeout occurred.
      * post 3: PTL returns OK iff all epids are either OK or UNREACHABLE
      * post 4: PTL defines content or epaddr[i] only if epaddr[i] is OK.
      */
diff --git a/ptl_am/am_reqrep_shmem.c b/ptl_am/am_reqrep_shmem.c
index 9ef9803..909ca9e 100644
--- a/ptl_am/am_reqrep_shmem.c
+++ b/ptl_am/am_reqrep_shmem.c
@@ -541,7 +541,7 @@ psmi_shm_attach(psm_ep_t ep, int *shmidx_o)
 	ips_mb();
 
 	ep->amsh_dirpage->is_init = 1;
-	_IPATH_PRDBG("Mapped and initalized shm object control page at %p,"
+	_IPATH_PRDBG("Mapped and initialized shm object control page at %p,"
                     "size=%ld, kcopy minor is %d (mode=%s)\n", mapptr,
 		    segsz, kcopy_minor,
 		    psmi_kassist_getmode(ep->psmi_kassist_mode));
diff --git a/ptl_ips/ips_spio.c b/ptl_ips/ips_spio.c
index 7194e25..2c3c985 100644
--- a/ptl_ips/ips_spio.c
+++ b/ptl_ips/ips_spio.c
@@ -324,7 +324,7 @@ spio_update_shadow(struct ips_spio *ctrl, int index)
       }
       
       if (event_mask & IPATH_EVENT_LID_CHANGE) {
-	/* Display a warning that LID change has occured during the run. This
+	/* Display a warning that LID change has occurred during the run. This
 	 * is not supported in the current implementation and in general is
 	 * bad for the SM to re-assign LIDs during a run.
 	 */
-- 
2.8.0.rc3