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 E54E7C7618A for ; Sun, 19 Mar 2023 16:19:47 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4607283CB4; Sun, 19 Mar 2023 17:19:45 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; secure) header.d=gmx.de header.i=xypron.glpk@gmx.de header.b="V/PklcZ+"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3D78084F3E; Sun, 19 Mar 2023 17:19:44 +0100 (CET) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B389483A35 for ; Sun, 19 Mar 2023 17:19:41 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=xypron.glpk@gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1679242780; i=xypron.glpk@gmx.de; bh=YmigcDrscKk6b2w1daesfBbQ9dPCEMmBL7p+bxRuhVY=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=V/PklcZ+h9iUPv4sd8pdfXhpLdx6HcW0ohLioBp50cTw1eVDSQbAmIk6nwcbFu9EY kHBiMHeq7folnXlQtuB8pbFnE8BN/CfNsTPI5QI9/V4DRxhZf6hsGy87w6ke2JkV5Y K1CEl0YdrLB86DiqPAeYiMW7Or1gN+FcXEjbJSKkKoDOqczkD/Xlg4pmza+kuMMyNC Wu4/rfMN28o/sbyRi8NP1WeI+UPGWaHHUEqps3xUlbJ3zLQdP/YntD4OsAldxbMHPq 5mTRs770iY6VFC7hitnh/KZk48SE8dPPHuJVH1cMm9cIG1wptJDnsu0D/S9Ej/aBJT ftiftPn1xDPxA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.123.94] ([88.152.145.137]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M9Wyy-1pYPRQ1bhU-005aWX; Sun, 19 Mar 2023 17:19:40 +0100 Message-ID: <4fae0ae7-a680-4d18-6ba2-329af1e2d351@gmx.de> Date: Sun, 19 Mar 2023 17:19:36 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v2 03/12] x86: Add return-value comment to cpu_jump_to_64bit() To: Simon Glass Cc: Bin Meng , U-Boot Mailing List References: <20230310204903.416969-1-sjg@chromium.org> <20230310204903.416969-4-sjg@chromium.org> Content-Language: en-US From: Heinrich Schuchardt In-Reply-To: <20230310204903.416969-4-sjg@chromium.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:wNrY/zHY+x9rSaxbqjSvHWglNNKDlkVF1YrqNC2zS9RHgxDkW8G 6edfat6CRIYHy+UM4Eo+hXHcr1oBbK7xW/psVqW3WMqOvQDTYy+ZHs9/vSyeES+MBRk5j6p y8jhcGEeHU80JgEyJUPD4uWWYNydMCJty17fT7d0p2jEX8zcAHqIkoXWO26WxASt0QJVlBg hxoIJ/pwwRSnwXhonqH/w== UI-OutboundReport: notjunk:1;M01:P0:wiDF+T3y72U=;5zTX4yZ2UwDhHQPvq3eJvMZVkrs otCvw4tZRRG2gGDH4BzhcTdSKHUa29axaf70JnrRUOREgE4dl2pfksYs2AMeAokb+a/QKIR8g Fp72xsFnDWqgkIUdhJ2OJsEDgFU1Mb5l3WZwtYqxx86Kcj9TLDHzdYIW37DDU47D6opcCCQh6 tQC7vu0s1kJ4TpxmKtUMOS+6yH/DEe20bI7bR6tm5KOTDG98KuVzkkYm1JG4p3XlLbiqrvOnO sVfqzQrz6y9GCAg5uHQu9BnwOjiqXGEq8cWAuQoJC/sEJZOigSDYG3lqSGyXmyUIKwi/qlGQf PNLOm+b8542A2sNw0jhiaV8xPyJv5R9z5MpcLACu2jgP7AsnMDKNxt7j+2dPBOpIhvDlP5zFR j/ia3SdhSEU6Z1AVihaHoPHujrh6l/79try121mOIPsnmhOGyg+N1fpd2kaae0HBGIyUg9+hN Fv8/b5XhwTyDZ/DqDXqTUcWG+Uh/jozyajqNtUP8tN4xtV5eNzsMOojqBamUZwPxO8pEKiwAu WJK0DMCs9Qmn5d3BkMXeGQ9MKzrgh0PhLrlg4+aJrGaVU37L7W5BKbVQwJXazInPRTRZsBr0t 4IYfSUV7MK0HuUcQK4vrVAibp5mf0ke29b5aylIbB1t7AtunvOhv4LU8/LX+pbcA3pGlR9gzH bYJaxAsGEKehDmrSDrh22D5k37sAgNFRImlC+BX/1tFAaO0THZpntbKvWlizP5dpjZELPstCT PMSSJG+qJVOyn4rHwJ3nX9v9/bH56Og7WJQ72AWZe/yJhavC8VrTZpR14C7DRhq6nannSd+Hc hb2KBDhK9ZIZJyCFUSubETazE1xLbTh4C7R1pHL5NbBOIVnDQBWzEXiImOLWMYEyIh+jkJ4Ak yqSghpiU6bYNc3RfVdXcULV3WTLDlXg5+1jVZAvq2HduNPvq5SAFtK7us8k0XzN5m0cgta+h7 Huf/V0yxT2EMtpt+85Ph1Cc1qRw= 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 On 3/10/23 21:48, Simon Glass wrote: > 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, ulon= g 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 %s/Returns:/Return:/ See https://docs.kernel.org/doc-guide/kernel-doc.html#function-documentati= on Best regards Heinrich > */ > int cpu_jump_to_64bit(ulong setup_base, ulong target); >