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 2E642C64EC7 for ; Sun, 26 Feb 2023 01:34:13 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 72B2285B84; Sun, 26 Feb 2023 02:33:41 +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="D5v+LQCl"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 731F285969; Sun, 26 Feb 2023 02:33:22 +0100 (CET) Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) (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 1561A85927 for ; Sun, 26 Feb 2023 02:33: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-io1-xd32.google.com with SMTP id m22so794992ioy.4 for ; Sat, 25 Feb 2023 17:33:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; 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=lefc7HeKVVlEP1/tBVtV/xN7TZJvBrDo3/WMb86Q31Y=; b=D5v+LQClzQWxHlucJTheU74rBTtLOdebKLViXg4StqNyzyH3DR5UukSHkhdJB0CgEB hEktylykLmsObMSl3L17ramyAUCKWeeaWT9AR92dRmz+xJmpO0eU8L7I/CdAj5J0v1Ap p3nCz5NdwhdtrI044uJ2j5JujGYMGiS1P9S0Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=lefc7HeKVVlEP1/tBVtV/xN7TZJvBrDo3/WMb86Q31Y=; b=GeM2cmFCdPhSttbBdmbizG5mDuxjCghxd0DPbrvkz6mIYpqoN1NO6b7CVQmNancRtO x86R6cVaAUcvLYzorhd1ALpZhl01RnWZHHil59yscSCzp6o8ta9SgNQB7hvDYkeRihWS T+qaadhHXobJBOBOhQEqle09zCCS9fJq6DwLiwFB+tt5Wyq+YFCSZRlsGoM/GIEmfJLb uyxxXCKOkmUC/0Lacvfus9jLE7cuOisZf2lapk/UnfqP/WN2LzyML575lb+HuIPpFjqZ Hla4VCfYct9uJ8SIDGGXZaYJSlWPWAiMXMIPbrxbDaxZHwksKCxiy3+nZtNLgAuIDOvG paQw== X-Gm-Message-State: AO0yUKU76o+tPpCqnGWNAKVQTjVSfr1/VRdL/U93gUmbQGzINK8m+AMM ZHPhsD8+7cXhUpiwU8EglmRD/c5qvHuAUuf6 X-Google-Smtp-Source: AK7set+EhKodJ5HuLJfju9TiVL/DVMtqplcavGNUrxM832yJdmRBqkLQSCDArZ2VzlrkNqB3Gufj3g== X-Received: by 2002:a05:6602:2a49:b0:723:8cb5:6705 with SMTP id k9-20020a0566022a4900b007238cb56705mr3562371iov.4.1677375195633; Sat, 25 Feb 2023 17:33:15 -0800 (PST) Received: from sjg1.lan (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id r5-20020a92ce85000000b00316e3a38becsm932699ilo.18.2023.02.25.17.33.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Feb 2023 17:33:15 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Heinrich Schuchardt , Simon Glass , Bin Meng Subject: [PATCH 03/10] x86: Add return-value comment to cpu_jump_to_64bit() Date: Sat, 25 Feb 2023 18:32:58 -0700 Message-Id: <20230226013305.2251638-4-sjg@chromium.org> X-Mailer: git-send-email 2.39.2.637.g21b0678d19-goog In-Reply-To: <20230226013305.2251638-1-sjg@chromium.org> References: <20230226013305.2251638-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.6 at phobos.denx.de X-Virus-Status: Clean This does not mention what it returns. Add the missing documentation. Signed-off-by: Simon Glass --- 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.39.2.637.g21b0678d19-goog