Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp322390iol; Thu, 9 Jun 2022 04:42:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzIkDz4vHmVKwcOhobcGxIM0t67+uxhBQRfi+XAX10fDDWMAwQZI1eva4k+Xg7VuLlOyhey X-Received: by 2002:a17:906:a10c:b0:711:ec20:69d1 with SMTP id t12-20020a170906a10c00b00711ec2069d1mr9802482ejy.718.1654774974813; Thu, 09 Jun 2022 04:42:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654774974; cv=none; d=google.com; s=arc-20160816; b=E6QQlfUt5fTM/wyR3wiP8iAeootagShRUbKd8FECnZMftpy7LUBTn3u/rS0xzvzpU5 dLCGrn0zm56fhajqO8blu3caKij7+WtQ9LMfRnfk6SdNxuWoLiMPjHbKdhzn1lDrIs9b 2oJD9OViClQh1qGr6IdCN5d6oixW+Z29f1PwE/z+ajz77kgYSp4iXGlvMH+U1hP0kK5K tg9ZE9aljo/1aI0fHzp7D1Azzh7mt9dfqyw161DYH3VJlq2pWI0eO6abSBN/3o0rG+1P lRg2+DzhYNFKsLBRqxO+oIR29+PLHew0F1GI1JwpIuoqjuSAeHIbhdn1KrDIeFwnykYH M2ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=5Vu5ixPAfDZQ8dkwZVfe3ZaRU++ah5L8Dr6dwG5B+aU=; b=U8rE/JlMWbNUN9KAyj1Kd+7CV2lFovFVWVxHh8rWJx+kmnnrfAfmBgerKHI3A7P5GR Uonpapw4Jc0U+9tfqegw5brjnVW7rytura7S/3K4I/LiLo5WXRxsbb70/g/TbCzBa5v3 kMGkr9e9I7/pb7EN09mJ5aGpUeZ10/05S/aMR2ZukwHXeA1vMPBypLc538gw0ezfarBc GzE1s+1GSOArMApvYRH17YKNmGHfFGk+H0G8hg0zypysoucvtGo/NlAeIFALSBNyXVUc 3UWeVjcl95UY5DdKaAQyhK9dpbGAwF9+u0eW7q3+By8wKoBfxe71ITyGd5+REVpQzfaL JihQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ispras.ru Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sg44-20020a170907a42c00b007120074c1d4si3041398ejc.747.2022.06.09.04.42.27; Thu, 09 Jun 2022 04:42:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ispras.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243227AbiFILkQ (ORCPT + 99 others); Thu, 9 Jun 2022 07:40:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243047AbiFILji (ORCPT ); Thu, 9 Jun 2022 07:39:38 -0400 Received: from mail.ispras.ru (mail.ispras.ru [83.149.199.84]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05C771D4202; Thu, 9 Jun 2022 04:39:35 -0700 (PDT) Received: from localhost.localdomain (unknown [80.240.223.29]) by mail.ispras.ru (Postfix) with ESMTPSA id 9350F40737CE; Thu, 9 Jun 2022 11:39:31 +0000 (UTC) From: Evgeniy Baskov To: Ard Biesheuvel Cc: Evgeniy Baskov , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org, Alexey Khoroshilov Subject: [PATCH] efi/x86: libstub: Fix typo in __efi64_argmap* name Date: Thu, 9 Jun 2022 14:37:30 +0300 Message-Id: <20220609113730.32062-1-baskov@ispras.ru> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The actual name of the DXE services function used is set_memory_space_attributes(), not set_memory_space_descriptor(). Change EFI mixed mode helper macro name to match the function name. Fixes: 31f1a0edff78 ("efi/x86: libstub: Make DXE calls mixed mode safe") Signed-off-by: Evgeniy Baskov --- arch/x86/include/asm/efi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/include/asm/efi.h b/arch/x86/include/asm/efi.h index 71943dce691e..9636742a80f2 100644 --- a/arch/x86/include/asm/efi.h +++ b/arch/x86/include/asm/efi.h @@ -323,7 +323,7 @@ static inline u32 efi64_convert_status(efi_status_t status) #define __efi64_argmap_get_memory_space_descriptor(phys, desc) \ (__efi64_split(phys), (desc)) -#define __efi64_argmap_set_memory_space_descriptor(phys, size, flags) \ +#define __efi64_argmap_set_memory_space_attributes(phys, size, flags) \ (__efi64_split(phys), __efi64_split(size), __efi64_split(flags)) /* -- 2.36.1