Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1356234pxb; Thu, 28 Jan 2021 14:29:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJxdrSz87rEaODNKGZlrwqYtdkUOjsl0aFTJ9FppU3mZx2GNkP02CC7TAzcx9+OUiyj7pc66 X-Received: by 2002:a17:906:4050:: with SMTP id y16mr1620441ejj.43.1611872945236; Thu, 28 Jan 2021 14:29:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611872945; cv=none; d=google.com; s=arc-20160816; b=Qx61T8YKW2fA5oUfaJlPa5pCwssdw+wRq/XiI8o1fyibiyYF2z9YAl0KJ9uEDJAmaB X8SIklAGUMU3o3ccWDRyRM6xBOMQ8ll/8XvG0SNahiIGbKSqA11vqiFjYaZLIRWE3vC8 IoDVhBPUBHqJQJLkxt3cYCxC/v5lSqXSNJEHP04QpxlU5Wm1w+5ag9mZZhJ5z5tEtGSm 7wF3d2IqZR1k8gh1e1iZ3YvGCAUnbR7X/DhsN0F3PUns7MA3YaERu5EyCIMzQLGRYWiI IA5QjGlBhJzir6uhLqej5/Ix7rOETboBAVNJAbSnF+CoWcRoosyyFMFmjGwfdrSw1Xjy pnjQ== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature:dkim-filter; bh=n3bNCZfvvOgSEPImncNtlfIjxMkprSYkS+VwNzrol2c=; b=0Sd8EK+AJ1BGFaNEMqVi2xe0ko0YczcwJ3fKfuRe7fgF0bsCXKJtK2SN+f2imFR/95 vXow4WtAYK6KE2O57X+c6PccZVvQdOuF0UZ+04rqkaDap33EYSU5KBgr2oOR9WJPuIIa 3eSxlWAzXSVu5Y05rI+n57uV519AdngPymzdsgKEYmGlwo3XOvHEHEzpMpdcJryUXMYr CEPycqq9y+wNKrnD3uzNK9Db+cNc4u4STqhReRYLE/VBdE17WD4uQoUAVukxNT5ded64 ZarowQf3R8zwwHscKqW6iBI5Yt8aTRKZD7E/YogqqxP1MEp36ZXhNmBIVxaorVpleGRY F3Lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=q1ov7O4e; 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 la11si3341592ejb.289.2021.01.28.14.28.40; Thu, 28 Jan 2021 14:29:05 -0800 (PST) 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=@lwn.net header.s=20201203 header.b=q1ov7O4e; 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 S231270AbhA1W0g (ORCPT + 99 others); Thu, 28 Jan 2021 17:26:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229658AbhA1W0e (ORCPT ); Thu, 28 Jan 2021 17:26:34 -0500 Received: from ms.lwn.net (ms.lwn.net [IPv6:2600:3c01:e000:3a1::42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CCA41C06174A; Thu, 28 Jan 2021 14:25:54 -0800 (PST) Received: from lwn.net (unknown [IPv6:2601:281:8300:104d::5f6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 32A5E6173; Thu, 28 Jan 2021 22:25:54 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 32A5E6173 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1611872754; bh=n3bNCZfvvOgSEPImncNtlfIjxMkprSYkS+VwNzrol2c=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=q1ov7O4elzTCF85UBBzc3qJuZsEN4SLnpEfF/o4L42dhLDaKLB/G6utplU/c7qe6c CqztL/IiuueqHrznDWGyK1XgaHpgZc25ZL6Cr9tg0BrvAb7g1fD0xYJboqlk5jrT6o zQ4vEAu7YNUE9MZgkNDfN0pV/CKzubqD440y5DCWpGs1bNOrUYGAZQb2q8XlEmXsdA dIp9PEyWp1t6ErvOTYlvwkmSGugoayXrYMQGsdBj7j6zqsvPo7bzTLdvcq8rPinjaa fc3RYma5OclWjS1dHdAJXcNawdHlm9d1Bjg4oZ39PS0pxZYWeqBESVzm9OnAAOhw5p ttYRFqVZVoAeA== Date: Thu, 28 Jan 2021 15:25:53 -0700 From: Jonathan Corbet To: Daniel Kiper Cc: Cao jin , x86@kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, hpa@zytor.com Subject: Re: [PATCH] Documentation/x86/boot.rst: Correct the example of SETUP_INDIRECT Message-ID: <20210128152553.0dec711e@lwn.net> In-Reply-To: <20210127125440.ma4ir6w7gqahbxbz@tomti.i.net-space.pl> References: <20210127084911.63438-1-jojing64@gmail.com> <20210127125440.ma4ir6w7gqahbxbz@tomti.i.net-space.pl> Organization: LWN.net MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 27 Jan 2021 13:54:40 +0100 Daniel Kiper wrote: > On Wed, Jan 27, 2021 at 04:49:11PM +0800, Cao jin wrote: > > struct setup_data.len is the length of data field. In case of > > SETUP_INDIRECT, it should be sizeof(setup_indirect). > > > > Signed-off-by: Cao jin > > Reviewed-by: Daniel Kiper Applied, thanks. jon