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 150D6C7618A for ; Sun, 19 Mar 2023 19:32:52 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2E0AE859FF; Sun, 19 Mar 2023 20:31:38 +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="InO5YVVY"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 88D5F85B70; Sun, 19 Mar 2023 20:31:00 +0100 (CET) Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) (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 3B72485B1B for ; Sun, 19 Mar 2023 20:30:52 +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-pl1-x634.google.com with SMTP id k2so10424450pll.8 for ; Sun, 19 Mar 2023 12:30:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1679254250; 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=E9B0wRYAuRvoqg5Vwg9XJq54D9GIE2kSeNtb2R7ENsU=; b=InO5YVVYqmBll0yGn1+2hW93yICtfIinVIj2BlXucTCOt4ErzBZp5Jbkhq+7C3Nv5o GWCVDruCrql4lGWfNW1Lxx/E5rKG104/405m/Z2pYMHXFxeW6/5y8EyhA2VZpAy/Ymm6 i6l6py+2szdz/+/Z1UoMionjqFQgzN0OarXu8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679254250; 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=E9B0wRYAuRvoqg5Vwg9XJq54D9GIE2kSeNtb2R7ENsU=; b=p/ePmI3gFdv+CqAhapjT7EbljSicV4PGMgtLquad9T5N8lRiSX3TB4AAiUchcSTV5X QaXHV0KQig7+8cMTUCXUTfWjDyd2OfVm8Uvt/oBRN6+546S2oPeOBz3L1FyRUpr20pbR TQFIunFAT4nJnkAs+ToAGsbSWR5Hw1Rfk9xgCaelnHqZhJVWDcCaz2IwOnETZ4OfZsCG xGdjQFKmcLNMapsFTM9S3vz75Z5S7W/4ZPFQsYKEkRrXsILuW9BIavSs4GEZ8mRqUUzu k+CdI3s6vpPxbzhW5HzUMG0krl2s+9rhobe8lsr9X6gRqJmzlYaxthaxvYi2dHmRoLxa kEeQ== X-Gm-Message-State: AO0yUKUkvs3/xAscMZwTl4icUGYjHiulLGQrbU0pwlN6FH9YRQgfzZey 2qiLhMrpUBbOXn7RgJcRjLOzhwt4Ae6Ut1ofUTU= X-Google-Smtp-Source: AK7set/yKob+fAzl+kRDr5htsvY/1UmEFfn4G2P5hfEAVv0ICKPaAoxDfXxmfu152Xm+ai9rdeiIoQ== X-Received: by 2002:a17:902:db07:b0:1a1:a146:f6d7 with SMTP id m7-20020a170902db0700b001a1a146f6d7mr12989265plx.4.1679254250446; Sun, 19 Mar 2023 12:30:50 -0700 (PDT) Received: from localhost.localdomain ([27.110.126.54]) by smtp.gmail.com with ESMTPSA id v12-20020a1709029a0c00b0019a75ea08e5sm5090651plp.33.2023.03.19.12.30.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Mar 2023 12:30:50 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Heinrich Schuchardt , Simon Glass , Bin Meng Subject: [PATCH v3 03/12] x86: Add return-value comment to cpu_jump_to_64bit() Date: Mon, 20 Mar 2023 08:30:07 +1300 Message-Id: <20230319193017.1084764-4-sjg@chromium.org> X-Mailer: git-send-email 2.40.0.rc1.284.g88254d51c5-goog In-Reply-To: <20230319193017.1084764-1-sjg@chromium.org> References: <20230319193017.1084764-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 --- Changes in v3: - Use Return instead of Returns 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 3346012d335c..073f80b07f10 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 + * Return: -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