Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1876107pxu; Fri, 9 Oct 2020 01:55:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwNj2h9HJ1Y4t0XZkcoZLuNZfivxf/lT95ZYUczwds8i/WWmAOSN7juXhMfDnbi+s5RCth9 X-Received: by 2002:aa7:d719:: with SMTP id t25mr13697493edq.11.1602233742251; Fri, 09 Oct 2020 01:55:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602233742; cv=none; d=google.com; s=arc-20160816; b=fJv8M43vG5nM9lVWYCkP7EJUUHeIXIaL9z9KyXsKBEt/yf0SEFvqQ+GXp21+EhLUTh 4kgVIQZlpLF9Ki544ul3PvZGVfhXkm+X8sGl3K/NU7l45J7RtZ+p0nHUC4j4NqsDpFiU cYSWhkTnGIUAPU/MmyS547sLxL5l+OXReqCQLFcj25YU9hcscwnZPpf1YZ7wUYXnmTGT uFxYyJBC2HVBhgZm4qOa8sf+C1ekuBiNYrS/FJljCy9t0bLx8kzreBsUYqwJ9R4Jf6gw F9vV3N0KKlUZX+4RdCcuDSnhQJwW6gYi4UoXZf46NsJev6tH50Mo4jhMFLCcFMmYq0T0 tckg== 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=fDKJjBQsw/A+UkgHa2+adPu7SYH6VgXEQ/QFdoAYnjI=; b=GFeKvWEDe4EWBE77fr0ZYsUxZUcPXz2l1/xM36bR/VPJ5oN4zBJuivcC/wagP/OpAa O72G3pBOh3yDJ0VbIVEbNLLla4E6pd9uLJTJLYq+MjFcEkUo3WpP5Qx+w3VknybQSVpo 8NWKGN+ZoKIVI6BqHSwjB9bbDCyb/Bzc4fQk2ymWDP9Vti+SBqeSep2Tn9vvQ7IVV0E+ 9vQEPX2zSRI36OvZU6h0i+UohLf+AOW6ZZkfM3y/6GS+ThBUcLvsmmexXbH95ua4vAoM etVb/AttQjh2QDk6HDRwuMftqS7hI5PIyD0vah2z4aC7TW91IO/xOjjBGX/7ZQGTG+FI T7Kg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p7si5643676edq.235.2020.10.09.01.55.18; Fri, 09 Oct 2020 01:55:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732886AbgJIIvV (ORCPT + 99 others); Fri, 9 Oct 2020 04:51:21 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:56292 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730726AbgJIIvV (ORCPT ); Fri, 9 Oct 2020 04:51:21 -0400 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 6E0C5FED773E5BDD649E; Fri, 9 Oct 2020 16:51:19 +0800 (CST) Received: from use12-sp2.huawei.com (10.67.189.174) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.487.0; Fri, 9 Oct 2020 16:51:09 +0800 From: Xiaoming Ni To: , , CC: , Subject: [PATCH] efi:mokvar-table: fix build error Date: Fri, 9 Oct 2020 16:51:06 +0800 Message-ID: <20201009085106.125079-1-nixiaoming@huawei.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.67.189.174] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org drivers/firmware/efi/mokvar-table.c:139:5: error: implicit declaration of function 'early_memunmap'; did you mean 'devm_memunmap'? [-Werror=implicit-function-declaration] drivers/firmware/efi/mokvar-table.c:148:9: error: implicit declaration of function 'early_memremap'; did you mean 'devm_memremap'? [-Werror=implicit-function-declaration] add #include to fix this build error Signed-off-by: Xiaoming Ni --- drivers/firmware/efi/mokvar-table.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/firmware/efi/mokvar-table.c b/drivers/firmware/efi/mokvar-table.c index 72a9e1736fef..c23d3686f1c7 100644 --- a/drivers/firmware/efi/mokvar-table.c +++ b/drivers/firmware/efi/mokvar-table.c @@ -39,6 +39,7 @@ #include #include #include +#include /* * The LINUX_EFI_MOK_VARIABLE_TABLE_GUID config table is a packed -- 2.27.0