Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1988693pxu; Fri, 9 Oct 2020 05:16:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7zd9RVzHln6PSUQoqGqgYp03pPVuD8Z/m9XCCZOoHhTjtLCN7FejRefiefWBUCVaKAl7A X-Received: by 2002:aa7:d948:: with SMTP id l8mr14519227eds.159.1602245816299; Fri, 09 Oct 2020 05:16:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602245816; cv=none; d=google.com; s=arc-20160816; b=PwtI5jyxcheeaol21+FBZvf64LV56dRFF1ih3Ac0+Ye9LYuDUdJMEgUdsmcV6nsBO7 I46Ji/GNkrqssF1DS8UiCQhFw+E+AuKFylZsNOkvDJ1H5L4b6oobYfDfLgstSv57M6dH Ka3+p28qubwqqjA+dczFnsPIa5lhiJ/RAinnXzCM6kuAJJ96zoSseYyg5yE3pGRT2hHa 4fomB9+MgHuaHRYs6epYfHEEP0CPoxRH7XZf+RV4apTftK5HbqTJTOqeRkTnzeoMbn1n hl1+ZzFN1Jo6qBJMnai7n3Bk1KQTwXoI5DFZYZMHKi6ElwtXX7r1+12uslutMkjLoyzw nFgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=cziKCL0I7gKoowkaZDbYo+fXXprimKC8K5x2f5uio+s=; b=YITEPmY9t0iKU1XIGQCvncuXwXrEOcH3pKsZEJlmhO8BjgSopOkbY3d6Sb/Exl5QQu NvcYYJFdPbEuti6aXr4QbOYEJLDlMOwpoCGe7AJQxGeknWY41Sug+Ud81NXtWsWE6zg/ GZU69UX2sFHahokomKlXWT8AN5U2rPFYzMcds4d7q4W1X17+xJRF8an5idZNjG7ymsyr 4cuQqmjHPh74qmDuZCVaZqUqgHQd6BGaorMPN1wuwnovTRcEn55Oi9sUQp5BLMn2IFTj z2kY9Ixt06ZLycnzSU3A7LSC/bFdp6GWt+xS0OfgUKDOSyf3ZjEAgCnF5RnrwiDqe2RK 4yiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=HLPFjHps; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h7si5740885edw.224.2020.10.09.05.16.32; Fri, 09 Oct 2020 05:16:56 -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; dkim=pass header.i=@kernel.org header.s=default header.b=HLPFjHps; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732941AbgJIIwo (ORCPT + 99 others); Fri, 9 Oct 2020 04:52:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:52574 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732492AbgJIIwn (ORCPT ); Fri, 9 Oct 2020 04:52:43 -0400 Received: from mail-ot1-f42.google.com (mail-ot1-f42.google.com [209.85.210.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CDA9E20679; Fri, 9 Oct 2020 08:52:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602233562; bh=H3WiVJE5WQKDRYHWZbDCcJWkEJpGCbuiUdxQrcSx6k8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=HLPFjHps7DHNz+IWr+LcJ7uETqmPdoHoajSP0cgLFHHNZ8E5+Tt6Ry48vG2oUOd/w bC7vK8VFuTy2t28MNvun1+kp5yqG0SoXsgdZoOsALjpGmwTnq1iv/bXUK0xEM5CWHw TxhSXKkqxtnlpW3G+iEhApzxYh3w1jvHLJYto9pU= Received: by mail-ot1-f42.google.com with SMTP id i12so8342959ota.5; Fri, 09 Oct 2020 01:52:42 -0700 (PDT) X-Gm-Message-State: AOAM530l52EbkOlaI4D96bJOcR+nqIv9UwhL5L6jhUiMhaXmzezO9vy/ WmGWBTf6Vqu6S575zSq5PEwi1EJdSR/4eooVMkU= X-Received: by 2002:a9d:6193:: with SMTP id g19mr7715959otk.108.1602233562109; Fri, 09 Oct 2020 01:52:42 -0700 (PDT) MIME-Version: 1.0 References: <20201009085106.125079-1-nixiaoming@huawei.com> In-Reply-To: <20201009085106.125079-1-nixiaoming@huawei.com> From: Ard Biesheuvel Date: Fri, 9 Oct 2020 10:52:31 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] efi:mokvar-table: fix build error To: Xiaoming Ni Cc: linux-efi , Linux Kernel Mailing List , wangle6@huawei.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 9 Oct 2020 at 10:51, Xiaoming Ni wrote: > > 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 Thank you Xiaoming. We already have a fix queued up for this issue. > --- > 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 >