From: Mat Martineau <mathew.j.martineau@linux.intel.com>
To: linux-bluetooth@vger.kernel.org
Cc: Mat Martineau <mathew.j.martineau@linux.intel.com>
Subject: [PATCH] tools: Fix recevied/received typos
Date: Thu, 28 Jul 2016 09:21:47 -0700 [thread overview]
Message-ID: <20160728162147.29986-1-mathew.j.martineau@linux.intel.com> (raw)
---
While fixing this, I noticed that ubcsp.{c,h} are the only source files
without proper Unix line endings. It's an easy fix but a lot of
churn. Let me know if I should submit a patch for that.
Mat
---
tools/l2test.c | 2 +-
tools/scotest.c | 2 +-
tools/ubcsp.c | 6 +++---
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/tools/l2test.c b/tools/l2test.c
index d4e3ae6..1819423 100644
--- a/tools/l2test.c
+++ b/tools/l2test.c
@@ -830,7 +830,7 @@ static void dump_mode(int sk)
return;
}
- syslog(LOG_INFO, "Recevied %d bytes", len);
+ syslog(LOG_INFO, "Received %d bytes", len);
hexdump(buf, len);
}
}
diff --git a/tools/scotest.c b/tools/scotest.c
index 596e403..f894c24 100644
--- a/tools/scotest.c
+++ b/tools/scotest.c
@@ -265,7 +265,7 @@ static void dump_mode(int sk)
syslog(LOG_INFO,"Receiving ...");
while ((len = read(sk, buf, data_size)) > 0)
- syslog(LOG_INFO, "Recevied %d bytes", len);
+ syslog(LOG_INFO, "Received %d bytes", len);
}
static void recv_mode(int sk)
diff --git a/tools/ubcsp.c b/tools/ubcsp.c
index b3f883a..cd17d48 100644
--- a/tools/ubcsp.c
+++ b/tools/ubcsp.c
@@ -351,14 +351,14 @@ bad_match_loop:
/*****************************************************************************/
/** **/
-/** ubcsp_recevied_packet **/
+/** ubcsp_received_packet **/
/** **/
/** This function is called when we have a SLIP END octet and a full **/
/** packet header and possibly data in the receive packet **/
/** **/
/*****************************************************************************/
-static uint8 ubcsp_recevied_packet (void)
+static uint8 ubcsp_received_packet (void)
{
static uint8
receive_crc,
@@ -1107,7 +1107,7 @@ uint8 ubcsp_poll (uint8 *activity)
{
/* process the received packet */
- *activity |= ubcsp_recevied_packet ();
+ *activity |= ubcsp_received_packet ();
if (*activity & UBCSP_PACKET_ACK)
{
--
2.9.2
next reply other threads:[~2016-07-28 16:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-28 16:21 Mat Martineau [this message]
2016-07-29 11:11 ` [PATCH] tools: Fix recevied/received typos Luiz Augusto von Dentz
2016-07-29 16:42 ` Mat Martineau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160728162147.29986-1-mathew.j.martineau@linux.intel.com \
--to=mathew.j.martineau@linux.intel.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox