Received: by 2002:a25:1104:0:0:0:0:0 with SMTP id 4csp321122ybr; Fri, 22 May 2020 07:28:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxwSbnp0n/Y8Ifd84AIKxTDKfxeIf9affIcKxUzL9THlNf+lo6x0EMwFlXsR32EJmNW1T7t X-Received: by 2002:a05:6402:1d98:: with SMTP id dk24mr3041210edb.206.1590157730492; Fri, 22 May 2020 07:28:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590157730; cv=none; d=google.com; s=arc-20160816; b=uYo+39HwGIREvVGmMa37Ucupd4mTHLgn/rEKtFodcyiaPT8j5SICgxvjuvRSExbNPR 1wDNQamLLRDk1PIV41iJXpCTZlhofg3um2/FIQpHJXFvMiJxxK9GqMwsbFFsX0RorRnT 1bNeWGsRjHOEQ/qOMZ35QCuDfrODPNHC+SKIphpZHu/aVAIDD8A747lDMUr15bwj4y+t ygzOWUoxR9oQoBlcrYUMscKe0+iF6DpoBrxyfxg2loEdAD346HDAR7JPVDyUnKp0SoiL Fdo7ZBAK1z8DcjXgYjQvtp+2g8eqe1rpZUXUNWwrQZJNBcW37ZGEaq0om7pZhYy1ONe5 rrFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+awZkpoO+PlkHTCeJFa+uxVrR09LAeuDj7DFJakgIpQ=; b=l/SCttRwRbO6Ut4fAB7Zvx5+0JGEXj0ar36ZTEsE6HWJ9wrYOOKmOwGf1u0Af4CeQY j8VX/aU+y11R7uXKMLn6t75ZgLY3zI1R3szKn9E7v7ZG2hK+cowoK0kuH72/DgSRSuSB fR02glr/7jJEAwSr9vrr8R8iYpPHggI1H8ZrmRJJvEBcbkFjV/5wNn/8bszQHlxBrVl+ CQT8C16KjaIoCJTjL41WBKEHegQxKyiuQ4TnBn0i5LN5OtadHfIGxOUpS98WoBsaQOB2 QvfCtEwuvrp0xwe2WVRhGoBsw+D/1t5NjUDaGD3bAYYalGxDcEKDebLDMYNpzPz2T2l6 VZ0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@ulukai.org header.s=ulukai header.b=jDcoSxwn; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gq26si4856613ejb.106.2020.05.22.07.28.27; Fri, 22 May 2020 07:28:50 -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=fail header.i=@ulukai.org header.s=ulukai header.b=jDcoSxwn; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730221AbgEVO1D (ORCPT + 99 others); Fri, 22 May 2020 10:27:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729868AbgEVO1C (ORCPT ); Fri, 22 May 2020 10:27:02 -0400 Received: from ulukai.org (ulukai.org [IPv6:2a01:488:66:1000:b01c:1258:0:1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59590C05BD43; Fri, 22 May 2020 07:27:02 -0700 (PDT) Received: from arona (unknown [46.114.108.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ulukai.org (Postfix) with ESMTPSA id 49T7gQ32QHz3SFk; Fri, 22 May 2020 16:10:42 +0200 (CEST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.2 at ulukai.org DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ulukai.org; s=ulukai; t=1590156642; bh=tw8TnTeS4qB/O5fLk0d0rRvpp5aVqL7Gv1uP8XO0ZhM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jDcoSxwnVWXIn/u04pLmYI17o93VYgm0dSecx5kLsejCp0q5h9GUbEh/y8SXAB+2h 6BT9Dd7vRdqAie93TrTTBLg9Nfg8JSGSJBmhERn7oA9pcTnyR33nthvvPHWXDVWVzt F7/fqIm+gLXIhG3xYv5Z5e/ZT0uVAd1Zsg++9kUE= From: "C. Masloch" To: linux-doc@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Jonathan Corbet , Dave Rodgman , Willy Tarreau , Andrew Morton Subject: [PATCH 2/2] docs: lzo: fix incorrect statement about distance zero for EOS Date: Fri, 22 May 2020 16:10:40 +0200 Message-Id: <20200522141040.1353769-2-pushbx@ulukai.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200522141040.1353769-1-pushbx@ulukai.org> References: <20200522141040.1353769-1-pushbx@ulukai.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on ulukai.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The encoded distance bits are zero, but the distance that is calculated from this is actually equal to 16384. So correct this statement to read that the 0001HLLL instruction means EOS when a distance of 16384 is seen. This matches with the description of the instruction itself later on. Signed-off-by: C. Masloch --- Documentation/lzo.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/lzo.txt b/Documentation/lzo.txt index f839d104d..dc9e876cb 100644 --- a/Documentation/lzo.txt +++ b/Documentation/lzo.txt @@ -65,9 +65,9 @@ Description generally encoded in the last two bits of the instruction but may also be taken from the last two bits of an extra operand (eg: distance). - End of stream is declared when a block copy of distance 0 is seen. Only one - instruction may encode this distance (0001HLLL), it takes one LE16 operand - for the distance, thus requiring 3 bytes. + End of stream is declared when a block copy of distance 16384 is seen, + encoded in a certain instruction (0001HLLL) with the H and D bits all zero. + It takes one LE16 operand for the distance, thus requiring 3 bytes. .. important:: -- 2.26.2