[PATCH] Fix spellings errors.

Subsystems: the rest

STALE5267d

5 messages, 3 authors, 2012-04-03 · open the first message on its own page

[PATCH] Fix spellings errors.

From: Rafael Fonseca <hidden>
Date: 2012-03-30 15:55:25

As my first attempt to send a patch to the project, I have used the
codespell tool (https://github.com/lucasdemarchi/codespell) to search for
spelling errors in the code.

If the patch is ok, could someone apply it, please?

Signed-off-by: Rafael F. Santos <redacted>
---
 audio/telephony-maemo5.c |    2 +-
 audio/telephony-maemo6.c |    2 +-
 audio/unix.c             |    2 +-
 mgmt/main.c              |    2 +-
 sbc/sbc.h                |    2 +-
 src/uinput.h             |    2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/audio/telephony-maemo5.c b/audio/telephony-maemo5.c
index 2832062..49230f1 100644
--- a/audio/telephony-maemo5.c
+++ b/audio/telephony-maemo5.c
@@ -1014,7 +1014,7 @@ static void handle_call_status(DBusMessage *msg, const char *call_path)
 					DBUS_TYPE_UINT32, &cause_type,
 					DBUS_TYPE_UINT32, &cause,
 					DBUS_TYPE_INVALID)) {
-		error("Unexpected paramters in Instance.CallStatus() signal");
+		error("Unexpected parameters in Instance.CallStatus() signal");
 		return;
 	}
 
diff --git a/audio/telephony-maemo6.c b/audio/telephony-maemo6.c
index dd75422..943f1e1 100644
--- a/audio/telephony-maemo6.c
+++ b/audio/telephony-maemo6.c
@@ -1386,7 +1386,7 @@ static void handle_call_status(DBusMessage *msg, const char *call_path)
 					DBUS_TYPE_UINT32, &cause_type,
 					DBUS_TYPE_UINT32, &cause,
 					DBUS_TYPE_INVALID)) {
-		error("Unexpected paramters in Instance.CallStatus() signal");
+		error("Unexpected parameters in Instance.CallStatus() signal");
 		return;
 	}
 
diff --git a/audio/unix.c b/audio/unix.c
index 5199831..6ccbf47 100644
--- a/audio/unix.c
+++ b/audio/unix.c
@@ -534,7 +534,7 @@ static int a2dp_append_codec(struct bt_get_capabilities_rsp *rsp,
 
 	space_left = BT_SUGGESTED_BUFFER_SIZE - rsp->h.length;
 
-	/* endianess prevent direct cast */
+	/* endianness prevent direct cast */
 	if (codec_cap->media_codec_type == A2DP_CODEC_SBC) {
 		struct sbc_codec_cap *sbc_cap = (void *) codec_cap;
 		sbc_capabilities_t *sbc = (void *) codec;
diff --git a/mgmt/main.c b/mgmt/main.c
index 90d43e3..3481e14 100644
--- a/mgmt/main.c
+++ b/mgmt/main.c
@@ -1739,7 +1739,7 @@ static void did_rsp(int mgmt_sk, uint16_t op, uint16_t id, uint8_t status,
 		exit(EXIT_FAILURE);
 	}
 
-	printf("Device ID succesfully set\n");
+	printf("Device ID successfully set\n");
 
 	exit(EXIT_SUCCESS);
 }
diff --git a/sbc/sbc.h b/sbc/sbc.h
index 2f830ad..f7ec99d 100644
--- a/sbc/sbc.h
+++ b/sbc/sbc.h
@@ -60,7 +60,7 @@ extern "C" {
 #define SBC_SB_4		0x00
 #define SBC_SB_8		0x01
 
-/* Data endianess */
+/* Data endianness */
 #define SBC_LE			0x00
 #define SBC_BE			0x01
 
diff --git a/src/uinput.h b/src/uinput.h
index e83986b..20e0941 100644
--- a/src/uinput.h
+++ b/src/uinput.h
@@ -55,7 +55,7 @@ extern "C" {
 /*
  * Keys and buttons
  *
- * Most of the keys/buttons are modeled after USB HUT 1.12
+ * Most of the keys/buttons are modelled after USB HUT 1.12
  * (see http://www.usb.org/developers/hidpage).
  * Abbreviations in the comments:
  * AC - Application Control
-- 
1.7.9.5

Re: [PATCH] Fix spellings errors.

From: Daniele Forsi <hidden>
Date: 2012-03-30 16:09:44

2012/3/30 Rafael Fonseca:
-       /* endianess prevent direct cast */
+       /* endianness prevent direct cast */
s/prevent/prevents/

-- 
Daniele Forsi

Re: [PATCH] Fix spellings errors.

From: Rafael Fonseca <hidden>
Date: 2012-03-30 16:15:48

On Fri, Mar 30, 2012 at 13:09, Daniele Forsi [off-list ref] wrote:
2012/3/30 Rafael Fonseca:
quoted
-       /* endianess prevent direct cast */
+       /* endianness prevent direct cast */
s/prevent/prevents/
Thanks! Should I send a new fixed version?


Att.
-- 
Rafael Fonseca

Re: [PATCH] Fix spellings errors.

From: Johan Hedberg <hidden>
Date: 2012-04-03 11:20:30

Hi Rafael,

On Fri, Mar 30, 2012, Rafael Fonseca wrote:
On Fri, Mar 30, 2012 at 13:09, Daniele Forsi [off-list ref] wrote:
quoted
2012/3/30 Rafael Fonseca:
quoted
-       /* endianess prevent direct cast */
+       /* endianness prevent direct cast */
s/prevent/prevents/
Thanks! Should I send a new fixed version?
Yes, please send a v2.

Johan

Re: [PATCH] Fix spellings errors.

From: Rafael Fonseca <hidden>
Date: 2012-04-03 13:32:47

Hi Johan,

On Tue, Apr 3, 2012 at 08:20, Johan Hedberg [off-list ref] wrote:
Hi Rafael,

On Fri, Mar 30, 2012, Rafael Fonseca wrote:
quoted
Thanks! Should I send a new fixed version?
Yes, please send a v2.
I sent a fixed version but forgot to annotate it as v2, sorry.


Att.
-- 
Rafael Fonseca
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help