mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] tree-wide: fix typos "offest" -> "offset"
@ 2009-10-28 19:11 Uwe Kleine-König
  2009-11-02 15:01 ` Jiri Kosina
  0 siblings, 1 reply; 4+ messages in thread
From: Uwe Kleine-König @ 2009-10-28 19:11 UTC (permalink / raw)
  To: linux-kernel; +Cc: trivial

This patch was generated by

	git grep -E -i -l 'offest' | xargs -r perl -p -i -e 's/offest/offset/'

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 arch/arm/plat-mxc/include/mach/mx2x.h   |    2 +-
 drivers/net/wireless/ath/ath5k/eeprom.c |    2 +-
 fs/ext3/inode.c                         |    2 +-
 fs/ext4/inode.c                         |    2 +-
 fs/ocfs2/blockcheck.c                   |    2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/arch/arm/plat-mxc/include/mach/mx2x.h b/arch/arm/plat-mxc/include/mach/mx2x.h
index db5d921..728f31c 100644
--- a/arch/arm/plat-mxc/include/mach/mx2x.h
+++ b/arch/arm/plat-mxc/include/mach/mx2x.h
@@ -25,7 +25,7 @@
 
 /* The following addresses are common between i.MX21 and i.MX27 */
 
-/* Register offests */
+/* Register offsets */
 #define AIPI_BASE_ADDR          0x10000000
 #define AIPI_BASE_ADDR_VIRT     0xF4000000
 #define AIPI_SIZE               SZ_1M
diff --git a/drivers/net/wireless/ath/ath5k/eeprom.c b/drivers/net/wireless/ath/ath5k/eeprom.c
index 644962a..81ea52c 100644
--- a/drivers/net/wireless/ath/ath5k/eeprom.c
+++ b/drivers/net/wireless/ath/ath5k/eeprom.c
@@ -1492,7 +1492,7 @@ ath5k_eeprom_read_target_rate_pwr_info(struct ath5k_hw *ah, unsigned int mode)
  * This info is used to calibrate the baseband power table. Imagine
  * that for each channel there is a power curve that's hw specific
  * (depends on amplifier etc) and we try to "correct" this curve using
- * offests we pass on to phy chip (baseband -> before amplifier) so that
+ * offsets we pass on to phy chip (baseband -> before amplifier) so that
  * it can use accurate power values when setting tx power (takes amplifier's
  * performance on each channel into account).
  *
diff --git a/fs/ext3/inode.c b/fs/ext3/inode.c
index acf1b14..a5d3bd7 100644
--- a/fs/ext3/inode.c
+++ b/fs/ext3/inode.c
@@ -2026,7 +2026,7 @@ static Indirect *ext3_find_shared(struct inode *inode, int depth,
 	int k, err;
 
 	*top = 0;
-	/* Make k index the deepest non-null offest + 1 */
+	/* Make k index the deepest non-null offset + 1 */
 	for (k = depth; k > 1 && !offsets[k-1]; k--)
 		;
 	partial = ext3_get_branch(inode, k, offsets, chain, &err);
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index 5c5bc5d..618ca95 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -4058,7 +4058,7 @@ static Indirect *ext4_find_shared(struct inode *inode, int depth,
 	int k, err;
 
 	*top = 0;
-	/* Make k index the deepest non-null offest + 1 */
+	/* Make k index the deepest non-null offset + 1 */
 	for (k = depth; k > 1 && !offsets[k-1]; k--)
 		;
 	partial = ext4_get_branch(inode, k, offsets, chain, &err);
diff --git a/fs/ocfs2/blockcheck.c b/fs/ocfs2/blockcheck.c
index a1163b8..b7428c5 100644
--- a/fs/ocfs2/blockcheck.c
+++ b/fs/ocfs2/blockcheck.c
@@ -47,7 +47,7 @@
  * Calculate the bit offset in the hamming code buffer based on the bit's
  * offset in the data buffer.  Since the hamming code reserves all
  * power-of-two bits for parity, the data bit number and the code bit
- * number are offest by all the parity bits beforehand.
+ * number are offset by all the parity bits beforehand.
  *
  * Recall that bit numbers in hamming code are 1-based.  This function
  * takes the 0-based data bit from the caller.
-- 
1.6.5


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] tree-wide: fix typos "offest" -> "offset"
  2009-10-28 19:11 [PATCH 1/2] tree-wide: fix typos "offest" -> "offset" Uwe Kleine-König
@ 2009-11-02 15:01 ` Jiri Kosina
  2009-11-03  8:14   ` Uwe Kleine-König
  0 siblings, 1 reply; 4+ messages in thread
From: Jiri Kosina @ 2009-11-02 15:01 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: linux-kernel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 605 bytes --]

On Wed, 28 Oct 2009, Uwe Kleine-König wrote:

> This patch was generated by
> 
> 	git grep -E -i -l 'offest' | xargs -r perl -p -i -e 's/offest/offset/'
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> ---
>  arch/arm/plat-mxc/include/mach/mx2x.h   |    2 +-
>  drivers/net/wireless/ath/ath5k/eeprom.c |    2 +-
>  fs/ext3/inode.c                         |    2 +-
>  fs/ext4/inode.c                         |    2 +-
>  fs/ocfs2/blockcheck.c                   |    2 +-
>  5 files changed, 5 insertions(+), 5 deletions(-)

Applied, thanks.

-- 
Jiri Kosina
SUSE Labs, Novell Inc.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] tree-wide: fix typos "offest" -> "offset"
  2009-11-02 15:01 ` Jiri Kosina
@ 2009-11-03  8:14   ` Uwe Kleine-König
  2009-11-03 10:45     ` Jiri Kosina
  0 siblings, 1 reply; 4+ messages in thread
From: Uwe Kleine-König @ 2009-11-03  8:14 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: linux-kernel

Hallo Jiri,

On Mon, Nov 02, 2009 at 04:01:06PM +0100, Jiri Kosina wrote:
> On Wed, 28 Oct 2009, Uwe Kleine-König wrote:
> 
> > This patch was generated by
> > 
> > 	git grep -E -i -l 'offest' | xargs -r perl -p -i -e 's/offest/offset/'
> > 
> > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> > ---
> >  arch/arm/plat-mxc/include/mach/mx2x.h   |    2 +-
> >  drivers/net/wireless/ath/ath5k/eeprom.c |    2 +-
> >  fs/ext3/inode.c                         |    2 +-
> >  fs/ext4/inode.c                         |    2 +-
> >  fs/ocfs2/blockcheck.c                   |    2 +-
> >  5 files changed, 5 insertions(+), 5 deletions(-)
> 
> Applied, thanks.
thanks, but you somehow mangled my name in different ways for the
different commits you took from me.  Sometimes you changed
"Kleine-König" to "Kleine-Koenig" in the Author field, sometimes in my
S-o-b line.

Care to fix that?

Assuming you have an UTF-8 locale:

	git filter-branch --env-filter 'test "x$GIT_AUTHOR_NAME" != "xUwe Kleine-Koenig" || GIT_AUTHOR_NAME="Uwe Kleine-König"; export GIT_AUTHOR_NAME' --msg-filter 'sed -e "s/Kleine-Koenig/Kleine-König/"' linus/master..for-next

Thanks
Uwe

-- 
Pengutronix e.K.                              | Uwe Kleine-König            |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] tree-wide: fix typos "offest" -> "offset"
  2009-11-03  8:14   ` Uwe Kleine-König
@ 2009-11-03 10:45     ` Jiri Kosina
  0 siblings, 0 replies; 4+ messages in thread
From: Jiri Kosina @ 2009-11-03 10:45 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: linux-kernel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 992 bytes --]

On Tue, 3 Nov 2009, Uwe Kleine-König wrote:

> > > This patch was generated by
> > > 
> > > 	git grep -E -i -l 'offest' | xargs -r perl -p -i -e 's/offest/offset/'
> > > 
> > > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> > > ---
> > >  arch/arm/plat-mxc/include/mach/mx2x.h   |    2 +-
> > >  drivers/net/wireless/ath/ath5k/eeprom.c |    2 +-
> > >  fs/ext3/inode.c                         |    2 +-
> > >  fs/ext4/inode.c                         |    2 +-
> > >  fs/ocfs2/blockcheck.c                   |    2 +-
> > >  5 files changed, 5 insertions(+), 5 deletions(-)
> > 
> > Applied, thanks.
> thanks, but you somehow mangled my name in different ways for the
> different commits you took from me.  Sometimes you changed
> "Kleine-König" to "Kleine-Koenig" in the Author field, sometimes in my
> S-o-b line.
> 
> Care to fix that?

Thanks for noticing, I had a bug in my git charset config for quite some 
time. Fixed it now.

-- 
Jiri Kosina
SUSE Labs, Novell Inc.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-11-03 10:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-28 19:11 [PATCH 1/2] tree-wide: fix typos "offest" -> "offset" Uwe Kleine-König
2009-11-02 15:01 ` Jiri Kosina
2009-11-03  8:14   ` Uwe Kleine-König
2009-11-03 10:45     ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®