Skip to contentSkip to conversation

Fix comment typos in hw/armv7m.c

PATCH Applied Matthew Fernandez 4 participants 8 messages Jun 23, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix comment typos in hw/armv7m.c

Fix a couple of typos in comments.

----
This patch doesn't touch any code and should (hopefully) not be controversial. There doesn't seem to be a maintainer for this file, but changes are trivial.

hw/armv7m.c +2 -2
index 72d010a..83f3393 100644
@@ -4,7 +4,7 @@
  * Copyright (c) 2006-2007 CodeSourcery.
  * Written by Paul Brook
  *
- * This code is licenced under the GPL.
+ * This code is licensed under the GPL.
  */
 
 #include "sysbus.h"
@@ -14,7 +14,7 @@
 
 /* Bitbanded IO.  Each word corresponds to a single bit.  */
 
-/* Get the byte address of the real memory for a bitband acess.  */
+/* Get the byte address of the real memory for a bitband access.  */
 static inline uint32_t bitband_addr(void * opaque, uint32_t addr)
 {
     uint32_t res;
Acked-by on v1 1/1
#1 lore raw

Am 23.06.2011 02:59, schrieb Matthew Fernandez:

Quoted 23 lines

Fix a couple of typos in comments.

----
This patch doesn't touch any code and should (hopefully) not be controversial. There doesn't seem to be a maintainer for this file, but changes are trivial.

hw/armv7m.c +1 -1
index 72d010a..83f3393 100644
@@ -4,7 +4,7 @@
   * Copyright (c) 2006-2007 CodeSourcery.
   * Written by Paul Brook
   *
- * This code is licenced under the GPL.
+ * This code is licensed under the GPL.
   */
 
  #include "sysbus.h"

hw/armv7m.c line 20

Quoted 8 lines
hw/armv7m.c +1 -1
@@ -14,7 +14,7 @@
 
  /* Bitbanded IO.  Each word corresponds to a single bit.  */
 
-/* Get the byte address of the real memory for a bitband acess.  */
+/* Get the byte address of the real memory for a bitband access.  */
  static inline uint32_t bitband_addr(void * opaque, uint32_t addr)
  {
      uint32_t res;

Hi,

would you mind sending a patch which fixes all other "licenced", too? There are 65 files which contain this spelling :-)

Cheers,
Stefan W.

#2 lore raw

----- Original message -----

Quoted 37 lines

Am 23.06.2011 02:59, schrieb Matthew Fernandez:

Quoted 23 lines

Fix a couple of typos in comments.

----
This patch doesn't touch any code and should (hopefully) not be controversial. There doesn't seem to be a maintainer for this file, but changes are trivial.

hw/armv7m.c +1 -1
index 72d010a..83f3393 100644
@@ -4,7 +4,7 @@
 * Copyright (c) 2006-2007 CodeSourcery.
 * Written by Paul Brook
 *
- * This code is licenced under the GPL.
+ * This code is licensed under the GPL.
 */
 
 #include "sysbus.h"

hw/armv7m.c line 20

Quoted 8 lines
hw/armv7m.c +1 -1
@@ -14,7 +14,7 @@
 
 /* Bitbanded IO.   Each word corresponds to a single bit.   */
 
-/* Get the byte address of the real memory for a bitband acess.   */
+/* Get the byte address of the real memory for a bitband access.   */
 static inline uint32_t bitband_addr(void * opaque, uint32_t addr)
 {
 uint32_t res;
Quoted 8 lines

Hi,

would you mind sending a patch which fixes all other "licenced", too? There are 65 files which contain this spelling :-)

Cheers,
Stefan W.

No problem. Are there any objections to this being a single patch? Don't really fancy sending 40+ patches. Obviously it will touch a lot of files, but won't change any code.

#4 lore raw
In reply to Matthew Fernandez

Am 23.06.2011 um 02:59 schrieb Matthew Fernandez:

Quoted 14 lines

Fix a couple of typos in comments.

----
This patch doesn't touch any code and should (hopefully) not be controversial. There doesn't seem to be a maintainer for this file, but changes are trivial.

hw/armv7m.c +0 -0
index 72d010a..83f3393 100644

hw/armv7m.c line 7

Quoted 5 lines
hw/armv7m.c +1 -1
@@ -4,7 +4,7 @@
 * Copyright (c) 2006-2007 CodeSourcery.
 * Written by Paul Brook
 *
- * This code is licenced under the GPL.
+ * This code is licensed under the GPL.

Nack. Licence is British English, license American English. It's not wrong.

hw/armv7m.c line 17

Quoted 9 lines
hw/armv7m.c +1 -1
 */
 
 #include "sysbus.h"
@@ -14,7 +14,7 @@
 
 /* Bitbanded IO.  Each word corresponds to a single bit.  */
 
-/* Get the byte address of the real memory for a bitband acess.  */
+/* Get the byte address of the real memory for a bitband access.  */

This one's okay.

Andreas

Quoted 4 lines
hw/armv7m.c +0 -0
 static inline uint32_t bitband_addr(void * opaque, uint32_t addr)
 {
    uint32_t res;
#5 lore raw
Quoted 12 lines · Andreas Färber

Am 23.06.2011 um 02:59 schrieb Matthew Fernandez:

Fix a couple of typos in comments.

Quoted 8 lines

----
This patch doesn't touch any code and should (hopefully) not be controversial. There doesn't seem to be a maintainer for this file, but changes are trivial.

Quoted 13 lines

hw/armv7m.c line 8

Quoted 11 lines
hw/armv7m.c +1 -1
index 72d010a..83f3393 100644
@@ -4,7 +4,7 @@
 * Copyright (c) 2006-2007 CodeSourcery.
 * Written by Paul Brook
 *
- * This code is licenced under the GPL.
+ * This code is licensed under the GPL.
 

Nack. Licence is British English, license American English. It's not wrong.

Licence is the noun in British English, while license in the noun in American English. License is the correct verb in both. Nevertheless, I don't think this is worth debating. If there's dissent I'm happy to drop the first part of the patch.

Quoted 24 lines

*/

hw/armv7m.c line 18

Quoted 9 lines
hw/armv7m.c +1 -1
 #include "sysbus.h"
@@ -14,7 +14,7 @@
 
 /* Bitbanded IO.  Each word corresponds to a single bit.  */
 
-/* Get the byte address of the real memory for a bitband acess.  */
+/* Get the byte address of the real memory for a bitband access.  */
 

This one's okay.

Andreas

static inline uint32_t bitband_addr(void * opaque, uint32_t addr)

Quoted 4 lines
hw/armv7m.c +0 -0
 {
   uint32_t res;
#6 lore raw

Am 23.06.2011 um 12:35 schrieb Matthew Fernandez:

Quoted 26 lines · Andreas Färber
Quoted 12 lines

Am 23.06.2011 um 02:59 schrieb Matthew Fernandez:

Quoted 11 lines

Fix a couple of typos in comments.

----
This patch doesn't touch any code and should (hopefully) not be controversial. There doesn't seem to be a maintainer for this file, but changes are trivial.

Quoted 13 lines

hw/armv7m.c line 8

Quoted 11 lines
hw/armv7m.c +1 -1
index 72d010a..83f3393 100644
@@ -4,7 +4,7 @@
 * Copyright (c) 2006-2007 CodeSourcery.
 * Written by Paul Brook
 *
- * This code is licenced under the GPL.
+ * This code is licensed under the GPL.
 

Nack. Licence is British English, license American English. It's not wrong.

Quoted 1 line

Licence is the noun in British English, while license in the noun in American English. License is the correct verb in both.

Ah, you seem right.

Quoted 1 line

Nevertheless, I don't think this is worth debating. If there's dissent I'm happy to drop the first part of the patch.

I would still suggest to separate the two issues, as Stefan W. has done before - one patch for all "acess" -> "access", and one for all "licenced" -> "licensed", rather than file-based changes. That reduces list traffic for such cosmetic issues.

It might be worth thinking about integrating the top 10 typos into checkpatch.pl.

Andreas

#3 lore raw
In reply to Matthew Fernandez

Am 23.06.2011 10:08, schrieb Matthew Fernandez:

Quoted 26 lines

----- Original message -----

Quoted 4 lines

Am 23.06.2011 02:59, schrieb Matthew Fernandez:

Quoted 3 lines

Fix a couple of typos in comments.

<mailto:[email protected]>>

Quoted 18 lines
Quoted 18 lines

----
This patch doesn't touch any code and should (hopefully) not be controversial. There doesn't seem to be a maintainer for this file, but changes are trivial.

hw/armv7m.c +1 -1
index 72d010a..83f3393 100644
@@ -4,7 +4,7 @@
 * Copyright (c) 2006-2007 CodeSourcery.
 * Written by Paul Brook
 *
- * This code is licenced under the GPL.
+ * This code is licensed under the GPL.
 */
 

...

Quoted 10 lines

...

Quoted 3 lines

<mailto:[email protected]>>

Quoted 4 lines

Hi,

Quoted 8 lines
Quoted 6 lines

would you mind sending a patch which fixes all other "licenced", too? There are 65 files which contain this spelling :-)

Cheers,
Stefan W.

No problem. Are there any objections to this being a single patch? Don't really fancy sending 40+ patches. Obviously it will touch a lot of files, but won't change any code.

I think a single patch is ok for this special case.
All "licenced" are part of (L)GPL license comments with a very low risk of merge conflicts, especially if the patch is accepted and applied soon.

Stefan W.