Merge tag 'platform-drivers-x86-v5.14-3' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git] / lib / decompress_bunzip2.c
index c72c865..3518e73 100644 (file)
@@ -80,7 +80,7 @@
 
 /* This is what we know about each Huffman coding group */
 struct group_data {
-       /* We have an extra slot at the end of limit[] for a sentinal value. */
+       /* We have an extra slot at the end of limit[] for a sentinel value. */
        int limit[MAX_HUFCODE_BITS+1];
        int base[MAX_HUFCODE_BITS];
        int permute[MAX_SYMBOLS];
@@ -337,7 +337,7 @@ static int INIT get_next_block(struct bunzip_data *bd)
                        pp <<= 1;
                        base[i+1] = pp-(t += temp[i]);
                }
-               limit[maxLen+1] = INT_MAX; /* Sentinal value for
+               limit[maxLen+1] = INT_MAX; /* Sentinel value for
                                            * reading next sym. */
                limit[maxLen] = pp+temp[maxLen]-1;
                base[minLen] = 0;
@@ -385,7 +385,7 @@ static int INIT get_next_block(struct bunzip_data *bd)
                        bd->inbufBits =
                                (bd->inbufBits << 8)|bd->inbuf[bd->inbufPos++];
                        bd->inbufBitCount += 8;
-               };
+               }
                bd->inbufBitCount -= hufGroup->maxLen;
                j = (bd->inbufBits >> bd->inbufBitCount)&
                        ((1 << hufGroup->maxLen)-1);