tree-wide: fix 'lenght' typo in comments and code
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / fs / cifs / asn1.c
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