summaryrefslogtreecommitdiffstats
path: root/src/usr/trace/daemon
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2015-01-06 15:13:56 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-01-15 14:57:29 -0600
commit60e36d9749821dc522e1cfd0e164ffd4459a2895 (patch)
treed13f2f57f9129f8e4d70b2ecdfbe97cc21931421 /src/usr/trace/daemon
parent5150e1feae1154d06b2f5ba59271e481bad13e8e (diff)
downloadtalos-hostboot-60e36d9749821dc522e1cfd0e164ffd4459a2895.tar.gz
talos-hostboot-60e36d9749821dc522e1cfd0e164ffd4459a2895.zip
Fix spelling mistakes using codespell.
- See https://github.com/lucasdemarchi/codespell Change-Id: I03e102d1ebb9473b6226fa9b6edb684fa0218a2f Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15031 Tested-by: Jenkins Server Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/trace/daemon')
-rw-r--r--src/usr/trace/daemon/daemon.C14
-rw-r--r--src/usr/trace/daemon/daemon.H8
2 files changed, 12 insertions, 10 deletions
diff --git a/src/usr/trace/daemon/daemon.C b/src/usr/trace/daemon/daemon.C
index de438b2f4..d16a34653 100644
--- a/src/usr/trace/daemon/daemon.C
+++ b/src/usr/trace/daemon/daemon.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2012,2014 */
+/* Contributors Listed Below - COPYRIGHT 2012,2015 */
/* [+] Google Inc. */
/* [+] International Business Machines Corp. */
/* */
@@ -355,7 +355,7 @@ namespace TRACEDAEMON
if (NULL != contBuffer)
{
sendContBuffer(contBuffer, contBufferSize);
- // contBuffer pointer is transfered to mailbox now.
+ // contBuffer pointer is transferred to mailbox now.
}
contBuffer = reinterpret_cast<char*>(malloc(PAGESIZE));
@@ -364,7 +364,7 @@ namespace TRACEDAEMON
contBufferSize = 1;
}
- // Add entry to continous trace.
+ // Add entry to continuous trace.
memcpy(&contBuffer[contBufferSize],
whichEntry->comp->iv_compName,
whichEntry->comp->iv_compNameLen);
@@ -393,13 +393,13 @@ namespace TRACEDAEMON
} while(1);
- // Send remainder of continous trace buffer.
+ // Send remainder of continuous trace buffer.
if (NULL != contBuffer)
{
if (contBufferSize > 1)
{
sendContBuffer(contBuffer, contBufferSize);
- // contBuffer pointer is transfered to mailbox now.
+ // contBuffer pointer is transferred to mailbox now.
}
else
{
@@ -736,7 +736,7 @@ namespace TRACEDAEMON
if (NULL != curBuffer)
{
sendExtractBuffer(curBuffer, curBufferSize);
- // curBuffer pointer is transfered to mailbox now.
+ // curBuffer pointer is transferred to mailbox now.
}
curBuffer = reinterpret_cast<char*>
@@ -767,7 +767,7 @@ namespace TRACEDAEMON
if (NULL != curBuffer)
{
sendExtractBuffer(curBuffer, curBufferSize);
- // curBuffer pointer is transfered to mailbox now.
+ // curBuffer pointer is transferred to mailbox now.
}
// Send one last message to the SP to indicate we're done.
diff --git a/src/usr/trace/daemon/daemon.H b/src/usr/trace/daemon/daemon.H
index b0ecf85e5..c84ad50bb 100644
--- a/src/usr/trace/daemon/daemon.H
+++ b/src/usr/trace/daemon/daemon.H
@@ -5,7 +5,9 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* COPYRIGHT International Business Machines Corp. 2012,2014 */
+/* Contributors Listed Below - COPYRIGHT 2012,2015 */
+/* [+] International Business Machines Corp. */
+/* */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); */
/* you may not use this file except in compliance with the License. */
@@ -76,12 +78,12 @@ namespace TRACEDAEMON
void collectTracePages();
/** Send continuous trace buffer to SP.
*
- * Ownership of i_buffer is transfered to mailbox.
+ * Ownership of i_buffer is transferred to mailbox.
*/
void sendContBuffer(void* i_buffer, size_t i_size);
/** Send extract trace buffer to SP.
*
- * Ownership of i_buffer is transfered to mailbox.
+ * Ownership of i_buffer is transferred to mailbox.
*/
void sendExtractBuffer(void* i_buffer, size_t i_size);
/** Reduce component trace buffers if exceeded max size. */
OpenPOWER on IntegriCloud