From patchwork Tue Nov 30 11:04:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dimitri John Ledkov X-Patchwork-Id: 1561559 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=VZxv8ICP; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4J3K9j5PHTz9sRR for ; Tue, 30 Nov 2021 22:04:41 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1ms0w4-0007AI-RS; Tue, 30 Nov 2021 11:04:32 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1ms0w0-00077j-6F for kernel-team@lists.ubuntu.com; Tue, 30 Nov 2021 11:04:28 +0000 Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 8D4513FFE1 for ; Tue, 30 Nov 2021 11:04:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1638270267; bh=i1EMN39cOLh4FN+rWMqbK5INigclarghY2RHg3QMxyM=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=VZxv8ICPH+3RbbSwCrjwY98lkzUwXyVyy08MUViWXd/yXonSzVv3tUQiyHI7gSuZa sArPOSu+6QG6zZRqzb3mu9Ee5I3RQDuT4dI+yPB/p3B6w46kbo14WK+IbG60KJFzLM wLQCWuIXm6KxTBVNbsVYaXwFvXLRCJLz+oigj1c00aabXiyazwF9wofe3COQPRPNFo EsUN61RbHw3V4HrUA+0igf0EhcJGkQpn51JxtPWumVIHMyYAAMl8XV3Pf/AyorGXdb CKHUON/AtbS6w3Y/wg5rNWN34KZ17UflhnSv8HTJBGZe2FltR/adCsWO3PDd+FmVln 88xkNO0QcrKmg== Received: by mail-ed1-f70.google.com with SMTP id v10-20020aa7d9ca000000b003e7bed57968so16549957eds.23 for ; Tue, 30 Nov 2021 03:04:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=i1EMN39cOLh4FN+rWMqbK5INigclarghY2RHg3QMxyM=; b=lKhV2TID6gwplz6IEB5g90Z2lx+beUT3t3RmC8ZG/1XB3lyKxymNPon/UE6qPhbxi4 BdQM9ABqjrnS7o0M04h1YYNuvTDFyERd8PrEP8k/iKeVWX47XD8Phqz1wblx5Jpo9M0n CXMyrBvFzg4mdcpokJSOv5hcfFhwC6gOxu1Cq6xi2XNEkE3cH6CG7I9CeZpfOwEwGq7J Ri57JkVUWyGeQdsVWcsjcV8r0FfXDHYt2lVvF/0QczhRXYWHPxVpswjQC0zDtQcFL7yf Sa6FH++jxoYMrT5g/UJnp/BCJ714axtQ46cYbmNajHfG9+TSbH13SW9tcfeeIr/D8dR0 ve3g== X-Gm-Message-State: AOAM531wpofn2sa5vnR4l+BKu60eWCQr1fmNn64ucdtR3YdHiQ144sIc 0Js5wSN0Gj4X9lwqIpaLeudiSdoCR6TfJJ15qQiJFifKyZSarAKqGjSE1eJVUUV6J8lniKWSjGb +yuzfnWOJWS7eMqrGP4elopUr0ekRFZIevD7O1b14DA== X-Received: by 2002:a05:6402:2547:: with SMTP id l7mr80819633edb.301.1638270266828; Tue, 30 Nov 2021 03:04:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJylOq310cScfi+hhbTod1Icyi2bBEqIJlwM2br09qs9vTFK9MI9k6PMrJIZxvMgaZ0ckYwJ/g== X-Received: by 2002:a05:6402:2547:: with SMTP id l7mr80819609edb.301.1638270266652; Tue, 30 Nov 2021 03:04:26 -0800 (PST) Received: from localhost ([2001:67c:1560:8007::aac:c15c]) by smtp.gmail.com with ESMTPSA id z6sm12163961edc.76.2021.11.30.03.04.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Nov 2021 03:04:26 -0800 (PST) From: Dimitri John Ledkov To: kernel-team@lists.ubuntu.com Subject: [SRU][BIONIC][PATCH 03/16] efi: mokvar: add missing include of asm/early_ioremap.h Date: Tue, 30 Nov 2021 11:04:03 +0000 Message-Id: <20211130110416.171269-4-dimitri.ledkov@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211130110416.171269-1-dimitri.ledkov@canonical.com> References: <20211130110416.171269-1-dimitri.ledkov@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Ard Biesheuvel BugLink: https://bugs.launchpad.net/bugs/1928679 Nathan reports that building the new mokvar table code for 32-bit ARM fails with errors such as error: implicit declaration of function 'early_memunmap' error: implicit declaration of function 'early_memremap' This is caused by the lack of an explicit #include of the appropriate header, and ARM apparently does not inherit that inclusion via another header file. So add the #include. Tested-by: Nathan Chancellor Signed-off-by: Ard Biesheuvel (cherry picked from commit cc383a9e245c527d3175e2cf4cced9dbbedbbac6) Signed-off-by: Dimitri John Ledkov --- drivers/firmware/efi/mokvar-table.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/firmware/efi/mokvar-table.c b/drivers/firmware/efi/mokvar-table.c index 72a9e1736f..d8bc013406 100644 --- a/drivers/firmware/efi/mokvar-table.c +++ b/drivers/firmware/efi/mokvar-table.c @@ -40,6 +40,8 @@ #include #include +#include + /* * The LINUX_EFI_MOK_VARIABLE_TABLE_GUID config table is a packed * sequence of struct efi_mokvar_table_entry, one for each named