lib/decompressors: fix spelling mistakes
Fix some spelling mistakes in comments: sentinal ==> sentinel compresed ==> compressed dependeny ==> dependency immediatelly ==> immediately dervied ==> derived splitted ==> split nore ==> not independed ==> independent asumed ==> assumed Link: https://lkml.kernel.org/r/20210604085656.12257-1-thunder.leizhen@huawei.com Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Cc: Jiri Kosina <jkosina@suse.cz> Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
b6c75c4afc
commit
05911c5d96
7 changed files with 12 additions and 12 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue