From nobody Mon Feb 9 02:28:30 2026 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; dmarc=pass(p=quarantine dis=none) header.from=suse.com ARC-Seal: i=1; a=rsa-sha256; t=1619000537; cv=none; d=zohomail.com; s=zohoarc; b=FOA5PuUi4Udi72icTK4JDkH2mMb68Awk5mUaTMVnBBljp/1tYCIT2E+4/JmRqNTO3I+I9A3vVpbIQBl4rQR6FWy27I2sRn9vyAdw7Yqcrmi2A0s/8nAvhdIbX8nzkr866/8xYYP8KZQaR+wX2PQQV8eeA1gUIhbS2i9VeDWvXek= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1619000537; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=5M9d5K4NLQWhUZlujnEzlcEHndQ3mZdWLs+EcPv7cUs=; b=HKxErpEdD8iazUW2Vew5lfbSsdiuphN6PVIujNtqx8JLmJFI+qqKFo4numB6ktOMZ6RhtibzZxnVwGBhgmy+ZukHoigQyIZ5qW8BYoo+3+3j+0DlAK2wZdfgFfJ6dr/IkUdCDRGKFZ6w3krJiolFMQfHUpsy7f4e9YR2C1G41aI= 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; dmarc=pass header.from= (p=quarantine dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 161900053719020.327377140011663; Wed, 21 Apr 2021 03:22:17 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.114350.217928 (Exim 4.92) (envelope-from ) id 1lZ9zf-0000Ee-Ie; Wed, 21 Apr 2021 10:22:03 +0000 Received: by outflank-mailman (output) from mailman id 114350.217928; Wed, 21 Apr 2021 10:22:03 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lZ9zf-0000EX-F6; Wed, 21 Apr 2021 10:22:03 +0000 Received: by outflank-mailman (input) for mailman id 114350; Wed, 21 Apr 2021 10:22:02 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lZ9zd-0000CV-Tw for xen-devel@lists.xenproject.org; Wed, 21 Apr 2021 10:22:01 +0000 Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 29f292c2-12b8-4b73-a043-96f0b458684c; Wed, 21 Apr 2021 10:22:00 +0000 (UTC) Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 7D7D2B2D6; Wed, 21 Apr 2021 10:21:59 +0000 (UTC) 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" X-Inumbo-ID: 29f292c2-12b8-4b73-a043-96f0b458684c X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1619000519; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5M9d5K4NLQWhUZlujnEzlcEHndQ3mZdWLs+EcPv7cUs=; b=LiTZgKOV0cGIYWbwtAyYwhRHVlHGf0zNvaQx+eCjdjPRthTRpsL3ZfRvEPyXYOFb2mg0aS seCBVKOA5k8RbN2qS2AxzrACD2V6H27a2dTKv0Z4jR8TxfO7ZgwZdijWiCmkje8silTwml uvSGUN8w1EOm+EN7c/xZyaB2Jy0XF6s= Subject: [PATCH v4 2/3] xen/decompress: drop STATIC and INIT From: Jan Beulich To: "xen-devel@lists.xenproject.org" Cc: Andrew Cooper , George Dunlap , Ian Jackson , Julien Grall , Stefano Stabellini , Wei Liu References: <12054cba-4386-0dbf-46fd-41ace0344f8e@suse.com> Message-ID: Date: Wed, 21 Apr 2021 12:21:59 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: <12054cba-4386-0dbf-46fd-41ace0344f8e@suse.com> Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @suse.com) Content-Type: text/plain; charset="utf-8" Except for one last instance, all users have been removed in earlier changes. Requested-by: Andrew Cooper Signed-off-by: Jan Beulich Acked-by: Julien Grall --- v3: New. --- a/xen/arch/arm/efi/efi-dom0.c +++ b/xen/arch/arm/efi/efi-dom0.c @@ -28,7 +28,7 @@ #include #include #include "../../../common/decompress.h" -#define XZ_EXTERN STATIC +#define XZ_EXTERN static #include "../../../common/xz/crc32.c" =20 /* Constant to indicate "Xen" in unicode u16 format */ --- a/xen/common/decompress.h +++ b/xen/common/decompress.h @@ -7,9 +7,6 @@ #include #include =20 -#define STATIC static -#define INIT __init - #define malloc xmalloc_bytes #define free xfree =20 @@ -18,9 +15,6 @@ =20 #else =20 -#define STATIC static -#define INIT - #undef __init /* tools/libs/guest/xg_private.h has its own one */ #define __init #define __initdata