]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
tree-wide: fix 'lenght' typo in comments and code
authorDaniel Mack <daniel@caiaq.de>
Fri, 29 Jan 2010 07:57:49 +0000 (15:57 +0800)
committerJiri Kosina <jkosina@suse.cz>
Fri, 5 Feb 2010 11:22:45 +0000 (12:22 +0100)
Some misspelled occurences of 'octet' and some comments were also fixed
as I was on it.

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Cc: Jiri Kosina <trivial@kernel.org>
Cc: Joe Perches <joe@perches.com>
Cc: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
arch/arm/mach-at91/include/mach/at91_mci.h
arch/s390/crypto/sha_common.c
drivers/crypto/hifn_795x.c
drivers/isdn/mISDN/l1oip_core.c
drivers/usb/wusbcore/wusbhc.h
drivers/uwb/uwbd.c
fs/cifs/asn1.c
fs/ext4/mballoc.c
fs/udf/inode.c
kernel/trace/trace.h

index 550d503a1bca1511ed6c93bff65ebc92d1d78e5a..57f8ee154943d91b50882a7b01ab2d602d5ba631 100644 (file)
@@ -77,7 +77,7 @@
 
 #define AT91_MCI_BLKR          0x18            /* Block Register */
 #define                AT91_MCI_BLKR_BCNT(n)   ((0xffff & (n)) << 0)   /* Block count */
-#define                AT91_MCI_BLKR_BLKLEN(n) ((0xffff & (n)) << 16)  /* Block lenght */
+#define                AT91_MCI_BLKR_BLKLEN(n) ((0xffff & (n)) << 16)  /* Block length */
 
 #define AT91_MCI_RSPR(n)       (0x20 + ((n) * 4))      /* Response Registers 0-3 */
 #define AT91_MCR_RDR           0x30            /* Receive Data Register */
index 7903ec47e6b9c4a48ab9ffd6b2f47db7ee601678..f42dbabc0d30883256bb786ae742e37dafd6d2a5 100644 (file)
@@ -79,7 +79,7 @@ int s390_sha_final(struct shash_desc *desc, u8 *out)
        memset(ctx->buf + index, 0x00, end - index - 8);
 
        /*
-        * Append message length. Well, SHA-512 wants a 128 bit lenght value,
+        * Append message length. Well, SHA-512 wants a 128 bit length value,
         * nevertheless we use u64, should be enough for now...
         */
        bits = ctx->count * 8;
index 09ad9154d86cecc676facd323341f82bdd674b2b..73e8b1713b549dc8880d654d49d1de3dd22e2354 100644 (file)
@@ -321,7 +321,7 @@ static atomic_t hifn_dev_number;
 #define        HIFN_PUBOPLEN_MOD_M     0x0000007f      /* modulus length mask */
 #define        HIFN_PUBOPLEN_MOD_S     0               /* modulus length shift */
 #define        HIFN_PUBOPLEN_EXP_M     0x0003ff80      /* exponent length mask */
-#define        HIFN_PUBOPLEN_EXP_S     7               /* exponent lenght shift */
+#define        HIFN_PUBOPLEN_EXP_S     7               /* exponent length shift */
 #define        HIFN_PUBOPLEN_RED_M     0x003c0000      /* reducend length mask */
 #define        HIFN_PUBOPLEN_RED_S     18              /* reducend length shift */
 
index 0843fcf8b38163fcb613f8dd98d39f32bc641dd8..325b1ad7d4b87d8e2445fb28dad77a906d976e2b 100644 (file)
@@ -477,7 +477,7 @@ l1oip_socket_parse(struct l1oip *hc, struct sockaddr_in *sin, u8 *buf, int len)
                printk(KERN_DEBUG "%s: received frame, parsing... (%d)\n",
                        __func__, len);
 
-       /* check lenght */
+       /* check length */
        if (len < 1+1+2) {
                printk(KERN_WARNING "%s: packet error - length %d below "
                        "4 bytes\n", __func__, len);
index fd2fd4e277e1914871d530adcea2d08ef3f8abeb..759cda55f7c3d5a26b8a645f68056d6135756728 100644 (file)
@@ -198,7 +198,7 @@ struct wusb_port {
  *                 ports) this HC will take. Read-only.
  *
  * @port          Array of port status for each fake root port. Guaranteed to
- *                 always be the same lenght during device existence
+ *                 always be the same length during device existence
  *                 [this allows for some unlocked but referenced reading].
  *
  * @mmcies_max    Max number of Information Elements this HC can send
index 5a777d8624da3f791bc08c2228de6b256a6d3bdc..6210fe1fd1bbfb64b9015a03da8dbb37a5a2b753 100644 (file)
@@ -43,7 +43,7 @@
  *
  * EVENTS
  *
- * Events have a type, a subtype, a lenght, some other stuff and the
+ * Events have a type, a subtype, a length, some other stuff and the
  * data blob, which depends on the event. The header is 'struct
  * uwb_event'; for payloads, see 'struct uwbd_evt_*'.
  *
index 20692fbfdb244ffb3d5b7acc5e5d84da00d3f7ba..a20bea598933459f24bed25f64ade645dea18ca9 100644 (file)
@@ -136,7 +136,7 @@ asn1_enum_decode(struct asn1_ctx *ctx, __le32 *val)
                return 0;
        }
 
-       ch = *(ctx->pointer)++; /* ch has 0xa, ptr points to lenght octet */
+       ch = *(ctx->pointer)++; /* ch has 0xa, ptr points to length octet */
        if ((ch) == ASN1_ENUM)  /* if ch value is ENUM, 0xa */
                *val = *(++(ctx->pointer)); /* value has enum value */
        else
index d34afad3e1371b89c3bfb600c51d55e714f00419..b794dd8141a0c01c1cf81f171a204b585631fe62 100644 (file)
@@ -69,7 +69,7 @@
  *
  * pa_lstart -> the logical start block for this prealloc space
  * pa_pstart -> the physical start block for this prealloc space
- * pa_len    -> lenght for this prealloc space
+ * pa_len    -> length for this prealloc space
  * pa_free   ->  free space available in this prealloc space
  *
  * The inode preallocation space is used looking at the _logical_ start
index f90231eb29165785d14369191a00fc458dafbc9c..772a4fa557f2e4dfcec646562b5366837e319762 100644 (file)
@@ -102,7 +102,7 @@ void udf_clear_inode(struct inode *inode)
        if (iinfo->i_alloc_type != ICBTAG_FLAG_AD_IN_ICB &&
            inode->i_size != iinfo->i_lenExtents) {
                printk(KERN_WARNING "UDF-fs (%s): Inode %lu (mode %o) has "
-                       "inode size %llu different from extent lenght %llu. "
+                       "inode size %llu different from extent length %llu. "
                        "Filesystem need not be standards compliant.\n",
                        inode->i_sb->s_id, inode->i_ino, inode->i_mode,
                        (unsigned long long)inode->i_size,
index 4df6a77eb1966bd4ea12779121f12e96ddf1d3f6..e4b32c8aa85f4e34e2578fc7c0e23c14e8595693 100644 (file)
@@ -549,7 +549,7 @@ static inline int ftrace_trace_task(struct task_struct *task)
  * struct trace_parser - servers for reading the user input separated by spaces
  * @cont: set if the input is not complete - no final space char was found
  * @buffer: holds the parsed user input
- * @idx: user input lenght
+ * @idx: user input length
  * @size: buffer size
  */
 struct trace_parser {