Browse Source

tree-wide: fix typos "offest" -> "offset"

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>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Uwe Kleine-König 15 years ago
parent
commit
bf48aabb89
4 changed files with 4 additions and 4 deletions
  1. 1 1
      drivers/net/wireless/ath/ath5k/eeprom.c
  2. 1 1
      fs/ext3/inode.c
  3. 1 1
      fs/ext4/inode.c
  4. 1 1
      fs/ocfs2/blockcheck.c

+ 1 - 1
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
  * This info is used to calibrate the baseband power table. Imagine
  * that for each channel there is a power curve that's hw specific
  * 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
  * (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
  * it can use accurate power values when setting tx power (takes amplifier's
  * performance on each channel into account).
  * performance on each channel into account).
  *
  *

+ 1 - 1
fs/ext3/inode.c

@@ -2026,7 +2026,7 @@ static Indirect *ext3_find_shared(struct inode *inode, int depth,
 	int k, err;
 	int k, err;
 
 
 	*top = 0;
 	*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--)
 	for (k = depth; k > 1 && !offsets[k-1]; k--)
 		;
 		;
 	partial = ext3_get_branch(inode, k, offsets, chain, &err);
 	partial = ext3_get_branch(inode, k, offsets, chain, &err);

+ 1 - 1
fs/ext4/inode.c

@@ -4058,7 +4058,7 @@ static Indirect *ext4_find_shared(struct inode *inode, int depth,
 	int k, err;
 	int k, err;
 
 
 	*top = 0;
 	*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--)
 	for (k = depth; k > 1 && !offsets[k-1]; k--)
 		;
 		;
 	partial = ext4_get_branch(inode, k, offsets, chain, &err);
 	partial = ext4_get_branch(inode, k, offsets, chain, &err);

+ 1 - 1
fs/ocfs2/blockcheck.c

@@ -47,7 +47,7 @@
  * Calculate the bit offset in the hamming code buffer based on the bit's
  * 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
  * 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
  * 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
  * Recall that bit numbers in hamming code are 1-based.  This function
  * takes the 0-based data bit from the caller.
  * takes the 0-based data bit from the caller.