Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3654801imj; Tue, 12 Feb 2019 02:24:37 -0800 (PST) X-Google-Smtp-Source: AHgI3IZQPw8PnmUzcA6KrJwLL2wCgrhSPRJqB9pTutw8CyoIMHhxtLumVMXrZDnPj+j4HoL02yan X-Received: by 2002:a63:bd51:: with SMTP id d17mr2961818pgp.443.1549967077477; Tue, 12 Feb 2019 02:24:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549967077; cv=none; d=google.com; s=arc-20160816; b=yamhi9GgLRZzR3j5dIx9S39WmM0uDOI5jtwr8oo3aORryt0y5yGyCIuFEQ/SEaFpey E8w/WN/dRa+7fkgu3SkTU8ZfN9sFsqOruaT8u/y+ixqKHFUj1+hWwL4/D3S+o6vA1pIK 9iByeZRABUo1jVtQC23oW76rUSQmqQPFm5iLo7w647CRQi4L9pa8GaK5tiTRHYx4ots5 2I/2SWkR1Y06liiTCmngg3w5qu1nSwomnE0uMEiWgckeigveoelILbsdXWHF8Bzzyczz HFhKhijRdy1OzCJKH9FMRE2p7CiLo/Xahk0p3ureIDYKrScqk5SQQj4WefdrwIZcFKf5 MKiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=vTTJdqf/ZWLOUT+uK18iY5fQAanEzmeGSK8RyC8mzgo=; b=NY1VsN5cr0zV/2GDnRu88nCoeC9+spR66Lm4p/TyDwahUV2l199RS1HNdXnETQ6Kv/ tgFdavHrQNHosBIQuXzbc0lEsLuXgLHCwba1CDUkCgHCdPghkx+E6ubdlPkqLr1Lrqrl p2olUH//QYNT99hqRu0f0iV6mUQfbXteKiteqYx5zWOU3za7UIj3rYwjfrPjFpfTDs3a StCp7viR0nQ9u5H+z0tyY4/3PqcR/HBh/CNTr7rMZ6rneW3y/OQzBCGWQGsAw+Do5V/s 6XGOQC5sv7bv12e2Rnz16JtEZCbqlVkslCmyOX8GcYS80Syz2+DxX/y6l4HVb9tk6GUI XuKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fzsOeNar; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f20si11616461pgv.228.2019.02.12.02.24.21; Tue, 12 Feb 2019 02:24:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fzsOeNar; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728747AbfBLKXh (ORCPT + 99 others); Tue, 12 Feb 2019 05:23:37 -0500 Received: from mail-pf1-f195.google.com ([209.85.210.195]:43041 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726003AbfBLKXg (ORCPT ); Tue, 12 Feb 2019 05:23:36 -0500 Received: by mail-pf1-f195.google.com with SMTP id q17so1076102pfh.10; Tue, 12 Feb 2019 02:23:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vTTJdqf/ZWLOUT+uK18iY5fQAanEzmeGSK8RyC8mzgo=; b=fzsOeNarDEfKHlAntINZHVZGIhmhjydkfu2/SuhWPNq6Jv/cjgPERGaSPnnjiLNBmp 3p+jjD/8ZhnkHPSlrqlE4c+LKREjP985LoD3qsy05XoeHD1oo0PWbW80rJB9iAoh0C/+ oQbTnu0lEw/zZvnrULDHXSu7f4vcNFfKjUpkCDyLNQ0YCxCq9tn9Wmf+DUbKBGwVtbkA pRzZyEyfmabYXcefe750yMup2FhKXIlxFn5bCRUuFiBza5BuNqmeak9AXlfgRUgVhHrM FCj7AJ5mJxTm99yj42GmrymH1PhTBi/HVHbFVNA3AuBAqDfbNzO9shxxbFts7LvQRwm+ I4aQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vTTJdqf/ZWLOUT+uK18iY5fQAanEzmeGSK8RyC8mzgo=; b=bEqfWy/cbFXEg2PRZGSyQdcy5lhgoiWoa0bjetL7pX6Ti2dXMHBV8LS5+3CVKL+xjS Yons0cE1sVn7aj6rNMV5MCw7/Bjp8MfybTqkoBr9F/Q1M1q6mHVn69Tt6UfcNyPsiDXr OdUzxUEQ4Bze6rxXatj0LgadiKBO42YhOcGE94ojZHwFqjX86WyUOWPyixeWoFDlSHQW viMZAYetor4tu/WkvacNzbCBz3rGRle1u7iZIbPmvDBypTQ8CD79rdg/rRpSdZoDbpqR 9kbg4L5bBP9M8vohd2/fralNe8q4n7UpfNvvzXEjmEc0spG4/3y4xcxfj52dnYUMWYkE t1Fg== X-Gm-Message-State: AHQUAuZpWXpPXxRfVa5BZAsk5nM3TKlc+o5sT/sfXobIfte2n5gKLpP2 yg0xTpZQ7Eo5QCCcSHpAH/Hzy9KAUVIVAdmJ0hY= X-Received: by 2002:a63:4a21:: with SMTP id x33mr3033356pga.428.1549967015050; Tue, 12 Feb 2019 02:23:35 -0800 (PST) MIME-Version: 1.0 References: <20190212100825.9113-1-anders.roxell@linaro.org> In-Reply-To: From: Andy Shevchenko Date: Tue, 12 Feb 2019 12:23:24 +0200 Message-ID: Subject: Re: [PATCH 1/2] ima: fix build error redeclaration of enumerator To: Anders Roxell Cc: Mimi Zohar , Dmitry Kasatkin , James Morris , "Serge E. Hallyn" , Ard Biesheuvel , Thomas Gleixner , Ingo Molnar , Borislav Petkov , linux-integrity , linux-security-module , Linux Kernel Mailing List , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , linux-efi , Platform Driver Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 12, 2019 at 12:21 PM Andy Shevchenko wrote: > > On Tue, Feb 12, 2019 at 12:15 PM Anders Roxell wrote: > > > > Commit a893ea15d764 ("tpm: move tpm_chip definition to > > include/linux/tpm.h") introduced a build error when both ima and efi is > > enabled. What happens is that both headers (ima.h and efi.h) defines the > > same 'NONE' constant, and it broke when they started getting included > > from the same file. > > > We only need one of the two patches applied. > > I would argue that we need two patches applied. Namespace is a hidden > issue in the code. > > This patch looks good to me, FWIW, > Reviewed-by: Andy Shevchenko Oh, did you change ABI? So, I have to say that enum changes are okay, but ABI, if any, are not. -- With Best Regards, Andy Shevchenko