From nobody Fri May 17 09:38:27 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1646042908; cv=none; d=zohomail.com; s=zohoarc; b=gub9VDpp11KNGgYjGg39wA67f1VTN/bc9fKrPkxsSebMol5V2jQe8PSw/3hMOhlwLoudt0u+NZuGDlETl8oJu+/f9uQoOwMX8QA0fDidGZy3FuUx/R7HyQ24ZS4q49lBd3fH0Yp+QayI3uJ2Sec1xT8ZNPwRw/kpfjekkbOt9cA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1646042908; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=P1oGTBOw5wZOVO0AiBiFv8kLi7uHeyJ9lMmo2PgMCeM=; b=Onw/zxXtPbQXIjk1AaGgFRD3BSY6QsYICOGjQ0TNjX9RfJpjO9b7Ix43YDizV2r5XUXESC/XrS6uaUAgdP9zut7ezNr8lA2JekPfdPuoWOLV3ZQZpWH7Sc+ET8tVA6fzuEWIb4d1CwQlu1ywexnmWg1JigprfHHGCBz+1Y01cOw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 16460429083662.8595898087777414; Mon, 28 Feb 2022 02:08:28 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.280303.478201 (Exim 4.92) (envelope-from ) id 1nOcwr-0003Jj-FN; Mon, 28 Feb 2022 10:08:09 +0000 Received: by outflank-mailman (output) from mailman id 280303.478201; Mon, 28 Feb 2022 10:08:09 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nOcwr-0003Jb-C6; Mon, 28 Feb 2022 10:08:09 +0000 Received: by outflank-mailman (input) for mailman id 280303; Mon, 28 Feb 2022 10:08:08 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nOcwq-0003Hy-1p for xen-devel@lists.xenproject.org; Mon, 28 Feb 2022 10:08:08 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nOcwp-0002Nm-OP; Mon, 28 Feb 2022 10:08:07 +0000 Received: from 54-240-197-224.amazon.com ([54.240.197.224] helo=dev-dsk-jgrall-1b-035652ec.eu-west-1.amazon.com) by xenbits.xenproject.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nOcwp-0004bS-Gg; Mon, 28 Feb 2022 10:08:07 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xen.org; s=20200302mail; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date: Subject:Cc:To:From; bh=P1oGTBOw5wZOVO0AiBiFv8kLi7uHeyJ9lMmo2PgMCeM=; b=Xooswf XaWMdK16sLCJRRR9stu30FxAnIzYUFWHV+SGKhuuM8yWEzYmHbX7EY1YFDHzm9afT1/KzbnEcuoF+ l0eNhW5CP5P33I/s8g1sVpUVsyNaMgKHMYbpwVpPWgDKCiUS29guJwbeDONAmkSHtqwtceBuP7jmk fd0YErUdet0=; From: Julien Grall To: xen-devel@lists.xenproject.org Cc: julien@xen.org, Julien Grall , Stefano Stabellini , Bertrand Marquis , Volodymyr Babchuk Subject: [PATCH] xen/arm64: head: Mark the end of subroutines with ENDPROC (take two) Date: Mon, 28 Feb 2022 10:08:05 +0000 Message-Id: <20220228100805.60918-1-julien@xen.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @xen.org) X-ZM-MESSAGEID: 1646042910518100001 Content-Type: text/plain; charset="utf-8" From: Julien Grall Commit 13c03002c5df ("xen/arm64: head: Mark the end of subroutines with ENDPROC") intended to mark all the subroutines with ENDPROC. Unfortunately, I missed fail(), switch_ttbr() and init_uart(). Add ENDPROC for the benefits of static analysis tools and the reader. Signed-off-by: Julien Grall Reviewed-by: Bertrand Marquis Reviewed-by: Michal Orzel --- xen/arch/arm/arm64/head.S | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xen/arch/arm/arm64/head.S b/xen/arch/arm/arm64/head.S index 314b800b3f8e..66d862fc8137 100644 --- a/xen/arch/arm/arm64/head.S +++ b/xen/arch/arm/arm64/head.S @@ -800,6 +800,7 @@ ENDPROC(launch) fail: PRINT("- Boot failed -\r\n") 1: wfe b 1b +ENDPROC(fail) =20 GLOBAL(_end_boot) =20 @@ -830,6 +831,7 @@ ENTRY(switch_ttbr) isb =20 ret +ENDPROC(switch_ttbr) =20 #ifdef CONFIG_EARLY_PRINTK /* @@ -847,6 +849,7 @@ init_uart: #endif PRINT("- UART enabled -\r\n") ret +ENDPROC(init_uart) =20 /* Print early debug messages. * x0: Nul-terminated string to print. --=20 2.32.0