From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH] igb_uio: fix build issue with lock down checks Date: Fri, 29 Jun 2018 11:54:30 +0100 Message-ID: <5708e1f9-d3de-fd65-0562-fca0b10feac9@intel.com> References: <1530267237-17275-1-git-send-email-david.marchand@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: dev@dpdk.org To: David Marchand Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 1CC7D1B4F9 for ; Fri, 29 Jun 2018 12:54:32 +0200 (CEST) In-Reply-To: <1530267237-17275-1-git-send-email-david.marchand@6wind.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 6/29/2018 11:13 AM, David Marchand wrote: > Caught on ubuntu-16.04 with hwe kernel for aarch64: > > $ uname -a > Linux ubuntu1604arm64es 4.13.0-43-generic #48~16.04.1-Ubuntu SMP Thu May > 17 13:08:01 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux > > == Build kernel/linux/igb_uio > CC [M] .../kernel/linux/igb_uio/igb_uio.o > In file included from .../kernel/linux/igb_uio/igb_uio.c:20:0: > .../igb_uio/compat.h: In function ‘igbuio_kernel_is_locked_down’: > .../igb_uio/compat.h:146:7: > error: "CONFIG_EFI_SECURE_BOOT_LOCK_DOWN" is not defined [-Werror=undef] > #elif CONFIG_EFI_SECURE_BOOT_LOCK_DOWN > ^ > cc1: all warnings being treated as errors > > Fixes: d67014c3d38b ("igb_uio: fail and log if kernel lock down is enabled") > Signed-off-by: David Marchand Acked-by: Ferruh Yigit Thanks for the fix.