aboutsummaryrefslogtreecommitdiff
path: root/linux/lib/decompress_unxz.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2021-10-12 16:24:36 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-10-12 16:24:36 +0000
commit693018d723aa1942e5b7976b8d3a1a328731d042 (patch)
tree5f80f20d38e3a266d6924bb55ef5c40023552878 /linux/lib/decompress_unxz.c
parent17738d50c94427a7693a80825d81de1edf86c2e1 (diff)
parente0f55df487bf06b4c0b6284df139452d943b4ec1 (diff)
downloadxz-embedded-693018d723aa1942e5b7976b8d3a1a328731d042.tar.gz
Upgrade xz-embedded to 3f438e15109229bb14ab45f285f4bff5412a9542 am: 6e6257f536 am: b7e6cc6d06 am: 4e070e07ba am: e0f55df487
Original change: https://android-review.googlesource.com/c/platform/external/xz-embedded/+/1853701 Change-Id: I764132b22c8050c884319198e547e38293537abd
Diffstat (limited to 'linux/lib/decompress_unxz.c')
-rw-r--r--linux/lib/decompress_unxz.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/linux/lib/decompress_unxz.c b/linux/lib/decompress_unxz.c
index 9f34eb5..7dfdde7 100644
--- a/linux/lib/decompress_unxz.c
+++ b/linux/lib/decompress_unxz.c
@@ -20,10 +20,10 @@
*
* The worst case for in-place decompression is that the beginning of
* the file is compressed extremely well, and the rest of the file is
- * uncompressible. Thus, we must look for worst-case expansion when the
- * compressor is encoding uncompressible data.
+ * incompressible. Thus, we must look for worst-case expansion when the
+ * compressor is encoding incompressible data.
*
- * The structure of the .xz file in case of a compresed kernel is as follows.
+ * The structure of the .xz file in case of a compressed kernel is as follows.
* Sizes (as bytes) of the fields are in parenthesis.
*
* Stream Header (12)
@@ -58,7 +58,7 @@
* uncompressed size of the payload is in practice never less than the
* payload size itself. The LZMA2 format would allow uncompressed size
* to be less than the payload size, but no sane compressor creates such
- * files. LZMA2 supports storing uncompressible data in uncompressed form,
+ * files. LZMA2 supports storing incompressible data in uncompressed form,
* so there's never a need to create payloads whose uncompressed size is
* smaller than the compressed size.
*
@@ -167,8 +167,8 @@
* memeq and memzero are not used much and any remotely sane implementation
* is fast enough. memcpy/memmove speed matters in multi-call mode, but
* the kernel image is decompressed in single-call mode, in which only
- * memcpy speed can matter and only if there is a lot of uncompressible data
- * (LZMA2 stores uncompressible chunks in uncompressed form). Thus, the
+ * memmove speed can matter and only if there is a lot of incompressible data
+ * (LZMA2 stores incompressible chunks in uncompressed form). Thus, the
* functions below should just be kept small; it's probably not worth
* optimizing for speed.
*/