Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5966350ybl; Sun, 22 Dec 2019 19:32:25 -0800 (PST) X-Google-Smtp-Source: APXvYqxKKSdDY3JDRpCbeSzZCRPQFqfgyHXXKKSATSl6iuKIcsNyPTzOK07M5zBk1OJloRttT1v9 X-Received: by 2002:a05:6830:1185:: with SMTP id u5mr28059084otq.147.1577071945763; Sun, 22 Dec 2019 19:32:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577071945; cv=none; d=google.com; s=arc-20160816; b=tmK35b1bHUmoA4Ji2mogp1ssiKVrl9cK+jDAjtmGOWCem7Xa6fzlyIGpzqbizlFw8Q CFyOZqMX7QZh8yK9GTWPGxECp/TaTCduV/gDQBojMwHSbBA/ia5FC9FOiSpMfjMdaZ9w N4mt+VpU6GaKF3iVxnwKFQ0zOMQegIe9siS3qia+c7IXgXSUsd8qo43z0s3vvQYdApGS i0FCCgkh5MTqY/JTcpr7WwPBM5PjD6nhNcpXYNoh1T9bt2ocCDTVFIZzAlQB3jAGB3c/ tvrgeZqcGqkBxnrJCZGQnOA0MZ3coZoTTSopnBCHwcBgpa7A7gv8t3l35XQG/frBxD/v 0KRA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=wDk9eb7F2WxO7x5adDBGN43VlmnnZ5rDg1TMYWO8AcU=; b=Jf3e9P2Brwi7cungQ1IhLvz3Dxx/mu4yTNAN32DOFtYi6+fT+5qWM6yoKZMPag7x+3 pxWRJNEPqQ1qzZQgiemZVl9FJDoVaM/3pTKni+YzJh0ZdJ/nu4d5DmfThagB37LBz+TA oFO+e3UXsd9CDszv1Q1RWSFOgYxbTid4PKzMGsynSf1IMW916sqr0hL560SaUOumBIz+ 7M6sPljmKVvaqv5PjxlUDiQkmfuKYr17PEYhrZU/+3P1bTG7Jdr3WMctSeYQDRNkCUd1 TfKvtnvxKnmESN/ldTKw32d9WmsKKqZgXwaruqG+rwTE/1ol1iJjvrw2btuuQQsmEwaM Su+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="aG1zyt/Z"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b1si7177351oiy.9.2019.12.22.19.32.13; Sun, 22 Dec 2019 19:32:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="aG1zyt/Z"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726632AbfLWDbg (ORCPT + 99 others); Sun, 22 Dec 2019 22:31:36 -0500 Received: from mail-pf1-f195.google.com ([209.85.210.195]:34495 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726539AbfLWDbg (ORCPT ); Sun, 22 Dec 2019 22:31:36 -0500 Received: by mail-pf1-f195.google.com with SMTP id i6so1634684pfc.1; Sun, 22 Dec 2019 19:31:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=wDk9eb7F2WxO7x5adDBGN43VlmnnZ5rDg1TMYWO8AcU=; b=aG1zyt/Z2Phm31nUAnlEmVfeRFW3Z+k9xOf+fSEYyBZY5LrxUHcY1bS+MCadB8+8/x bIz+JJ6jlbNazR81bTamAfPf8AvcG/vg9haZ0nqQi7ZcCyFEpSNbf43VKITHz/Ae3KIa bgC/v0FvhIx9PpJaMX7kD9md5juR0gh/DArWT6JjlqzISemtbE/me29ooDk6cE559fb9 /G/ZK/GHaAwvTEmqfQ8S1yGFNjRHJdT46P8DAFKrF250/5i1h5bxPbaY1glSndVYRLmf ikDSmZpSS9H6vxURj2gM6gJvJQu6mJhkLNroEuzuaPSbWfmVYBj20NDqrHvsfwbZ7o18 bqVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=wDk9eb7F2WxO7x5adDBGN43VlmnnZ5rDg1TMYWO8AcU=; b=geBKH095oLAzVEb3utvN2tQYtwfoGWiiXwH8JoJAYjMVTNDGB95S3p40b/qefzDmzn A36VXod+QPKJqGT/xEgEXsHSYMCmRKens8Jc9pdavI5bzpFMUms42U66PCC+crEftNwI lKaor8QDfQIFRqS6jDdddxnb2y46eZUIeB7JzZR19MYX4yMnDDhmz8aVgls4D/WbHA5Q wfpSLXsi8pze9OIOfszmsUUk4kN63/jNGAqEihRzCmrVhn0sdBpMOCspDemEpeDjkvwo 1C6K7VUaCY8R0C9V/RFlCThpcVPl0/UpQ2iM0+zxmS2RBjTlKQ1kJXyupMgL6+vuSHHJ BY+w== X-Gm-Message-State: APjAAAXkKD917Wty7q3OQR9U9mKox3pU+OKIIrFGRc+f5WT8dwlStDDr NE92eFmV9jMgQS0jrIOyXzw= X-Received: by 2002:a63:4f54:: with SMTP id p20mr29174948pgl.246.1577071895412; Sun, 22 Dec 2019 19:31:35 -0800 (PST) Received: from localhost.localdomain ([2804:14d:72b1:8920:a2ce:f815:f14d:bfac]) by smtp.gmail.com with ESMTPSA id f30sm19932481pga.20.2019.12.22.19.31.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Dec 2019 19:31:34 -0800 (PST) From: "Daniel W. S. Almeida" X-Google-Original-From: Daniel W. S. Almeida To: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, hpa@zytor.com, x86@kernel.org, corbet@lwn.net Cc: "Daniel W. S. Almeida" , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, skhan@linuxfoundation.org, linux-kernel-mentees@lists.linuxfoundation.org Subject: [PATCH] Documentation: boot.rst: fix warnings Date: Mon, 23 Dec 2019 00:31:21 -0300 Message-Id: <20191223033121.1584930-1-dwlsalmeida@gmail.com> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "Daniel W. S. Almeida" Fix WARNING: Inline emphasis start-string without end-string. This warning was due to wrong syntax being used. Signed-off-by: Daniel W. S. Almeida --- Documentation/x86/boot.rst | 40 +++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/Documentation/x86/boot.rst b/Documentation/x86/boot.rst index 90bb8f5ab384..94c2a2775a31 100644 --- a/Documentation/x86/boot.rst +++ b/Documentation/x86/boot.rst @@ -834,14 +834,14 @@ Protocol: 2.09+ chunks of memory are occupied by kernel data. Thus setup_indirect struct and SETUP_INDIRECT type were introduced in - protocol 2.15. + protocol 2.15:: - struct setup_indirect { - __u32 type; - __u32 reserved; /* Reserved, must be set to zero. */ - __u64 len; - __u64 addr; - }; + struct setup_indirect { + __u32 type; + __u32 reserved; /* Reserved, must be set to zero. */ + __u64 len; + __u64 addr; + }; The type member is a SETUP_INDIRECT | SETUP_* type. However, it cannot be SETUP_INDIRECT itself since making the setup_indirect a tree structure @@ -849,19 +849,19 @@ Protocol: 2.09+ and stack space can be limited in boot contexts. Let's give an example how to point to SETUP_E820_EXT data using setup_indirect. - In this case setup_data and setup_indirect will look like this: - - struct setup_data { - __u64 next = 0 or ; - __u32 type = SETUP_INDIRECT; - __u32 len = sizeof(setup_data); - __u8 data[sizeof(setup_indirect)] = struct setup_indirect { - __u32 type = SETUP_INDIRECT | SETUP_E820_EXT; - __u32 reserved = 0; - __u64 len = ; - __u64 addr = ; + In this case setup_data and setup_indirect will look like this:: + + struct setup_data { + __u64 next = 0 or ; + __u32 type = SETUP_INDIRECT; + __u32 len = sizeof(setup_data); + __u8 data[sizeof(setup_indirect)] = struct setup_indirect { + __u32 type = SETUP_INDIRECT | SETUP_E820_EXT; + __u32 reserved = 0; + __u64 len = ; + __u64 addr = ; + } } - } .. note:: SETUP_INDIRECT | SETUP_NONE objects cannot be properly distinguished @@ -964,7 +964,7 @@ expected to copy into a setup_data chunk. All kernel_info data should be part of this structure. Fixed size data have to be put before kernel_info_var_len_data label. Variable size data have to be put after kernel_info_var_len_data label. Each chunk of variable size data has to -be prefixed with header/magic and its size, e.g.: +be prefixed with header/magic and its size, e.g.:: kernel_info: .ascii "LToP" /* Header, Linux top (structure). */ -- 2.24.1