From nobody Fri May 17 11:58:54 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=1646042880; cv=none; d=zohomail.com; s=zohoarc; b=lPMZcdOJkOCncjih8TQgWQfPknS9P8fr8gbGEvKhbKqRItOA6Bif+llzpN+D+mvwXN4HWPid31YYrNNcfc/Qjj5T3ZYsXAyf4xj4TEi+54f905YbxIaGtfbSnpT4Ep80TE2l8Osb/pQfjMy82orFlx6yjuaNXMg0oMdvmsA+lE4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1646042880; 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=KVCoOox3nA3HgaYBDS9j2yAj0flJel/SfOyIYIak1Ps=; b=aDcCBrhAU3RhMqTysiz+a2IafI6OGD6u3o9eb175EI/DlP7+TMIQA4778lFpux0oR9Leq7eGtrk9kdbR4k1uakl07JPDHbae+mH62P2eT+DNhM3sb3/D5fHT+J24HP2+hJoSs53cvKzK6q3ii2nL12ejGh6JU0vAXzqyRn/3MAI= 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 1646042880677150.93417751211848; Mon, 28 Feb 2022 02:08:00 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.280298.478190 (Exim 4.92) (envelope-from ) id 1nOcwT-0002ki-77; Mon, 28 Feb 2022 10:07:45 +0000 Received: by outflank-mailman (output) from mailman id 280298.478190; Mon, 28 Feb 2022 10:07:45 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nOcwT-0002kb-4D; Mon, 28 Feb 2022 10:07:45 +0000 Received: by outflank-mailman (input) for mailman id 280298; Mon, 28 Feb 2022 10:07:44 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nOcwS-0002kP-00 for xen-devel@lists.xenproject.org; Mon, 28 Feb 2022 10:07:44 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nOcwR-0002MV-Oe; Mon, 28 Feb 2022 10:07:43 +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 1nOcwR-0004Yf-GI; Mon, 28 Feb 2022 10:07:43 +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=KVCoOox3nA3HgaYBDS9j2yAj0flJel/SfOyIYIak1Ps=; b=Nit+xE LNV8iy8Uqf4JZe7qnQRsweoNgwj/BP5EIv7byFjM26Nl0Pii4iYyyQhbAR+Bxbyj1q3ZttaWlIqPt 9vislkGnav2t4Y45BqqzKElu8bHXNASoskzvlz+8iWcyoXKWgLpZsi05AiAt81AZ9OeuGSesNcz7M zHkSbq6ikDc=; From: Julien Grall To: xen-devel@lists.xenproject.org Cc: julien@xen.org, Julien Grall , Stefano Stabellini , Bertrand Marquis , Volodymyr Babchuk Subject: [PATCH] xen/arm32: head: Mark the end of subroutines with ENDPROC (take two) Date: Mon, 28 Feb 2022 10:07:40 +0000 Message-Id: <20220228100740.60332-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: 1646042882283100001 Content-Type: text/plain; charset="utf-8" From: Julien Grall Commit 2ac705a59ef5 ("xen/arm32: head: Mark the end of subroutines with ENDPROC") intended to mark all the subroutines with ENDPROC. Unfortunately, I missed fail(), switch_ttbr(), init_uart() and __lookup_processor_type(). 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/arm32/head.S | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xen/arch/arm/arm32/head.S b/xen/arch/arm/arm32/head.S index b1d209ea2842..13cfc837d39c 100644 --- a/xen/arch/arm/arm32/head.S +++ b/xen/arch/arm/arm32/head.S @@ -661,6 +661,7 @@ ENDPROC(launch) fail: PRINT("- Boot failed -\r\n") 1: wfe b 1b +ENDPROC(fail) =20 GLOBAL(_end_boot) =20 @@ -694,6 +695,7 @@ ENTRY(switch_ttbr) isb =20 mov pc, lr +ENDPROC(switch_ttbr) =20 #ifdef CONFIG_EARLY_PRINTK /* @@ -711,6 +713,7 @@ init_uart: #endif PRINT("- UART enabled -\r\n") mov pc, lr +ENDPROC(init_uart) =20 /* * Print early debug messages. @@ -798,6 +801,7 @@ __lookup_processor_type: mov r1, #0 2: mov pc, lr +ENDPROC(__lookup_processor_type) =20 /* * Local variables: --=20 2.32.0