From patchwork Mon Sep 27 15:56:58 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: 1533431 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=TWg1giGC; 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 4HJ6jN3y6Kz9tkJ for ; Tue, 28 Sep 2021 01:57:43 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1mUt0X-0006hP-Ay; Mon, 27 Sep 2021 15:57:33 +0000 Received: from smtp-relay-internal-0.internal ([10.131.114.225] helo=smtp-relay-internal-0.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1mUt0S-0006gJ-Vf for kernel-team@lists.ubuntu.com; Mon, 27 Sep 2021 15:57:28 +0000 Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (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-0.canonical.com (Postfix) with ESMTPS id C99A9402E0 for ; Mon, 27 Sep 2021 15:57:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1632758248; bh=qXILha3NeUJZG1r4v/rNyu20kfvVZhNE86wYZu/4QFs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=TWg1giGCd9TepnJm3r1UGmxARGzoOKCNbvDHCDXbz4r2Q8F9sgDBLSBfikPU1q8e1 FsCPr+7sKaH52rrqZQsQ2SyMYFMDGLlPQKKmhEXKKqYzj/zGfKenGvujfGTPWwMxUb wQd8OYXmqtFwzpP41WUoLXHsoGwJQaUTdyaB868Q/ZxXB0UeyWqc6ZLvvJJWVqhftq 09vLu3VW28o5r99dJku6eF/mofPhZiLgK1jazf4QjmYYVgfBzitMTDBmowHE2s3vf4 xvmXTMZxRkQ2V11MXzG8cC8PcMQWDLgi+f6N7lXYdzZg+4QFpHiRAy4frIfsWkZJPy kZApU7GiLhWEw== Received: by mail-wm1-f72.google.com with SMTP id 70-20020a1c0149000000b0030b7dd84d81so424935wmb.3 for ; Mon, 27 Sep 2021 08:57:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qXILha3NeUJZG1r4v/rNyu20kfvVZhNE86wYZu/4QFs=; b=rS5zVLZdTLjDyP9NwRrd8okKTj06ZspX4jkH/uHSAtBHhfc4mjzkCs6Uhbts4H5bw/ AQkW6ivLY7ZHGxl+MypCKt8wBMeB7Y/SufvdpvWax1sAbh9lQPAcNnN44Hcy6PJVoUMl FBO+U7gG5+TLVc65sKEVbp1OQ1LnGCkr0o1Bn8c6rpnKrlW6IEybQ1mUQ7K4htX5Ne5A jHenjIBMWTCziC/XXwm2i1GTCT9fQkTB9AKDo3RhJHWjAC4HbQrCqDPke17wHSU5DAf1 xC8e4NFlErXToIljmnzugVOQIzHRBlSlzRSqGM+gVl3K0ORrjO8+WhzwYk+fYpjSyvFC UUDA== X-Gm-Message-State: AOAM530ItbCKHfh4xElQ+zMVRNTVe8yZyavhr6tshwGYbnh6JIyhKxCh E32vhL+0QXwwQa4MM1kwoJ1UyZuUrQYJReO5X24faOe2nQbT6ME+j5h+/dLBm0nMEshJt8mGjDv 3Wv4U8FLKDPlZxhzPQPOaOnvSt41NS5dl/ddO7qAvUA== X-Received: by 2002:a1c:1d13:: with SMTP id d19mr653144wmd.89.1632758248196; Mon, 27 Sep 2021 08:57:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzAt/IlI6u/4KXXFO4XoDOwZ2ybbEtCpbUQZyA+Wbcx9XPTw17SGbE603fyF8rqYKUhWBzUqA== X-Received: by 2002:a1c:1d13:: with SMTP id d19mr653127wmd.89.1632758247945; Mon, 27 Sep 2021 08:57:27 -0700 (PDT) Received: from localhost ([2a01:4b00:85fd:d700:86ad:7d9c:de94:eed0]) by smtp.gmail.com with ESMTPSA id c18sm9638849wmb.27.2021.09.27.08.57.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 08:57:27 -0700 (PDT) From: Dimitri John Ledkov To: kernel-team@lists.ubuntu.com Subject: [SRU][F/hwe-5.8][PATCH 04/18] efi: mokvar: add missing include of asm/early_ioremap.h Date: Mon, 27 Sep 2021 16:56:58 +0100 Message-Id: <20210927155712.164337-5-dimitri.ledkov@canonical.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210927155712.164337-1-dimitri.ledkov@canonical.com> References: <20210927155712.164337-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: , Cc: Nathan Chancellor , Ard Biesheuvel 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