Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 63696C6FD19 for ; Fri, 10 Mar 2023 20:52:03 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8E70885FA9; Fri, 10 Mar 2023 21:49:42 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="g2Mv0FX8"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E445385FA4; Fri, 10 Mar 2023 21:49:22 +0100 (CET) Received: from mail-il1-x12e.google.com (mail-il1-x12e.google.com [IPv6:2607:f8b0:4864:20::12e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3442A85F9A for ; Fri, 10 Mar 2023 21:49:17 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-il1-x12e.google.com with SMTP id x10so3642961ill.12 for ; Fri, 10 Mar 2023 12:49:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1678481354; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=TMwSLAh3TLCcwMf9uqUp6Rvmxsc2TqmaT4q6Z8VkBJ0=; b=g2Mv0FX8bVE5F01T9wn98DJps5E1uBWCX9Fv9C5Ru7Oe1SG/jUpZBkDqIGviXmnBQM 7MsQ0xapA4pnjtUmJ9w9pQh7Id34HVjFryKE0IT/ntrmmsnh+4krTU1IxmaG84rUn1Qu s0ysUf7sJkooU46BtaQgtj8hGvRs6Uy9Yi15s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678481354; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TMwSLAh3TLCcwMf9uqUp6Rvmxsc2TqmaT4q6Z8VkBJ0=; b=ipCBOIzKet5B0eqlbGzSxO3PqlsXNUfWjWeVmQqIO9Du45hMGDwSjLcaTvvHBvdQRc hDftRRKKNPWn6g2ghpbAX2BfETaTNqiPjr1Gx6gzzoaXVmiax+MIqcaDKHrbgMMuSvS4 D1xD52dIjuOt20E86nBz81rtFPLBwdCifJoSHhSTv3Fre+KrP33WBpHAF5v10sLqJLei hXoHDJqLCWSpkwH8Obo8K2MGA3xu+Qe+HdA1E02G1U/qRUSk/f1GTZrNV79CcW8GNAcE oBoYWFM1LprFTE5JjPQx03/DzTFfo7KvIj0rxiriR7JKfS4Otb2MMNl8YjiaDK+yFSUK Jhjw== X-Gm-Message-State: AO0yUKWje8wrN4+R69vAbWw3Mk0fYxhHTACnMpqWazIcJFWGilZFBjZh XKZI8+fBsKAQMEq0U22trEv17ts2t0dM9d4LdwA= X-Google-Smtp-Source: AK7set90gJ2X5ebYjl0vrkKVCTeqHaCxjx8009E/Lni7Usd/bKocgMEbGbVZ56S2Eg47bnVoL1JpVw== X-Received: by 2002:a05:6e02:188f:b0:315:9452:2822 with SMTP id o15-20020a056e02188f00b0031594522822mr22180401ilu.0.1678481354043; Fri, 10 Mar 2023 12:49:14 -0800 (PST) Received: from sjg1.roam.corp.google.com (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id a7-20020a056e020e0700b00315785bfabfsm273817ilk.47.2023.03.10.12.49.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Mar 2023 12:49:13 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Heinrich Schuchardt , Simon Glass , Bin Meng Subject: [PATCH v2 03/12] x86: Add return-value comment to cpu_jump_to_64bit() Date: Fri, 10 Mar 2023 12:48:53 -0800 Message-Id: <20230310204903.416969-4-sjg@chromium.org> X-Mailer: git-send-email 2.40.0.rc1.284.g88254d51c5-goog In-Reply-To: <20230310204903.416969-1-sjg@chromium.org> References: <20230310204903.416969-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean This does not mention what it returns. Add the missing documentation. Signed-off-by: Simon Glass --- (no changes since v1) arch/x86/include/asm/cpu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/include/asm/cpu.h b/arch/x86/include/asm/cpu.h index 3346012d335..aa03ef598e1 100644 --- a/arch/x86/include/asm/cpu.h +++ b/arch/x86/include/asm/cpu.h @@ -262,6 +262,7 @@ void cpu_call32(ulong code_seg32, ulong target, ulong table); * * @setup_base: Pointer to the setup.bin information for the kernel * @target: Pointer to the start of the kernel image + * Returns: -EFAULT if the kernel returned; otherwise does not return */ int cpu_jump_to_64bit(ulong setup_base, ulong target); -- 2.40.0.rc1.284.g88254d51c5-goog