Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp910475pxb; Sun, 10 Oct 2021 15:01:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwyTSgAFSEYlZD0BICnzZ88qt/7Ef28kBUSJtwJs1f3Y4/247YG6Z7UK/ydHZTouTDA5hMA X-Received: by 2002:a17:907:2bdf:: with SMTP id gv31mr21831969ejc.521.1633903312023; Sun, 10 Oct 2021 15:01:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633903312; cv=none; d=google.com; s=arc-20160816; b=0lSIspy++yCrY44KpYEHdW4VItk9yeo8gQ9vWDeA5dobHq5Ueu2Hhsa125zWomEsHp 4la7NAvPQZKyRnNhk2e/uaKQbXxRD16rklK6ypo+Yw3XiPXev43U85TIhg2Vr3QgR+m/ gt0h9vfTuVPi1/SRHIQrkjTMgd16fkk+/moojpOaHyLaGog/Y22cjGaCXayR+2Wci749 7GgUrjCjUvtXDs0+1ejQ34ElQHgzw4/nPVvHex83MCtxKTKr2UwR0d7IvykMFLaqIrhi gg1R6mpYZBDYzSAytQZ/X/w8Qi/5UHLVVQBHhCeI8hl+ni58Ma0ZzpQB/Rit6wO7yIpa RUtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=wOao8F8HJceZbKhKzKt7m7lMGZAS7UmF55SLHZW+X10=; b=uY/BzTKNAVz2I3X7u9l8TNuStE2xGQqKTW8uqLodhKa4k2LNHChbiiI14Cf1dWEsR+ bcTdsNhON7Qm6KKOd1JXucSyX+h4gR4v53QZRs+ofzN80D+OU0gNhX/MHlMjx9Wv5hl1 1Av8Nb363A8NrAMMCW3+ttx6UXpxblO8WuNrafea+B/L+pki2Z0D/yNCw4Qu5o4bdMpv 1ebUQBAeOJiObsEpf7bVxs+3JStTmhlvJ32u7SLRoS79JEvA53aAGOo/PJQU8/5nMjP1 GSUShXuSC9Jvydtu3jnU2/N96YsPiyvTShVIOU3s+FRSCTZ+XvATb1AJROEfjLNRWdqU yXlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Kg2QzZ7J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z24si8288642edl.444.2021.10.10.15.01.28; Sun, 10 Oct 2021 15:01:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Kg2QzZ7J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233163AbhJJVe3 (ORCPT + 99 others); Sun, 10 Oct 2021 17:34:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:58706 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233208AbhJJVe1 (ORCPT ); Sun, 10 Oct 2021 17:34:27 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8EDDA61078; Sun, 10 Oct 2021 21:32:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1633901548; bh=BZE2h9T8kyoATakOTh1LoFvV5zvzgcuKHtqR+EVL11M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Kg2QzZ7JGpiNKtuXDrwRJ//c7Hmv4APTJv5h8yQooetJFE0bDaMkINRoqZm0C9dzi tMZj0s/bkrl/yEDXrhHzCtkkl62Pj3TiEAwKA9zy7AOvhveV1QSz5HaJNSP70AReBb FuGFqAEiYajXnmiewHLfQBkUS4Gccn1fXxaRzERg4GC46MURkJwZVeRtZySjp7YIxG 0/CoXFcKBEDfXeYBm9UWJTbmPr3XeCSn9KZRBE97Z6H/rRyEpkQWiVmrw8x+yPdKrz wexsk7LeyAkajNdmF17ttebxfOXxvOIYcp0ioYvTE4PUp4vmg6RKA5V87YE3MZ0NOB qHaS/cZg0TDfQ== From: Gao Xiang To: linux-erofs@lists.ozlabs.org, LKML Cc: Lasse Collin , Chao Yu , Andrew Morton , Greg KH , Linus Torvalds , Gao Xiang Subject: [PATCH 5/7] lib/xz, lib/decompress_unxz.c: Fix spelling in comments Date: Mon, 11 Oct 2021 05:31:43 +0800 Message-Id: <20211010213145.17462-6-xiang@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20211010213145.17462-1-xiang@kernel.org> References: <20211010213145.17462-1-xiang@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Lasse Collin uncompressible -> incompressible non-splitted -> non-split Signed-off-by: Lasse Collin Signed-off-by: Gao Xiang --- lib/decompress_unxz.c | 10 +++++----- lib/xz/xz_dec_lzma2.c | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/decompress_unxz.c b/lib/decompress_unxz.c index f7a3dc13316a..9f4262ee33a5 100644 --- a/lib/decompress_unxz.c +++ b/lib/decompress_unxz.c @@ -20,8 +20,8 @@ * * 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 compressed kernel is as follows. * Sizes (as bytes) of the fields are in parenthesis. @@ -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 - * memmove 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. */ diff --git a/lib/xz/xz_dec_lzma2.c b/lib/xz/xz_dec_lzma2.c index 46b186d7eb45..27ce34520e78 100644 --- a/lib/xz/xz_dec_lzma2.c +++ b/lib/xz/xz_dec_lzma2.c @@ -520,7 +520,7 @@ static __always_inline void rc_normalize(struct rc_dec *rc) * functions so that the compiler is supposed to be able to more easily avoid * an extra branch. In this particular version of the LZMA decoder, this * doesn't seem to be a good idea (tested with GCC 3.3.6, 3.4.6, and 4.3.3 - * on x86). Using a non-splitted version results in nicer looking code too. + * on x86). Using a non-split version results in nicer looking code too. * * NOTE: This must return an int. Do not make it return a bool or the speed * of the code generated by GCC 3.x decreases 10-15 %. (GCC 4.3 doesn't care, -- 2.20.1