From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CBB34C10DCE for ; Sun, 15 Mar 2020 18:17:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A65FB206B1 for ; Sun, 15 Mar 2020 18:17:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728310AbgCOSR3 (ORCPT ); Sun, 15 Mar 2020 14:17:29 -0400 Received: from mga01.intel.com ([192.55.52.88]:51477 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726444AbgCOSR3 (ORCPT ); Sun, 15 Mar 2020 14:17:29 -0400 IronPort-SDR: 0xy7r7A7h2SqDXPll5+UA6qjeCnxjIhjcFPKaOjlHsV9NUtLuN58y10Dd1Ubu3ZNPKtCjRlzIF GZhpoHEv8PuQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Mar 2020 11:17:29 -0700 IronPort-SDR: 7vg6/z2ikB8JomhLlbowAMcZylxIdRQF9sGYwjcJEM/E6yfQOiSnguq+3VCTrx+YbXrhpy8vQG nVWbJ2oVgv0Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,557,1574150400"; d="scan'208";a="235824729" Received: from babayass-mobl.ger.corp.intel.com (HELO localhost) ([10.249.90.210]) by fmsmga007.fm.intel.com with ESMTP; 15 Mar 2020 11:17:26 -0700 Date: Sun, 15 Mar 2020 20:17:24 +0200 From: Jarkko Sakkinen To: Sean Christopherson Cc: linux-sgx@vger.kernel.org Subject: Re: [PATCH] x86/sgx: Fix a build error introduced by WARN->ENCLS_WARN conversion Message-ID: <20200315181724.GC224162@linux.intel.com> References: <20200314033051.32137-1-sean.j.christopherson@intel.com> <20200315181126.GA224162@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200315181126.GA224162@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Sender: linux-sgx-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sgx@vger.kernel.org On Sun, Mar 15, 2020 at 08:11:30PM +0200, Jarkko Sakkinen wrote: > On Fri, Mar 13, 2020 at 08:30:51PM -0700, Sean Christopherson wrote: > > Remove an unwanted param when invoking ENCLS_WARN on EREMOVE failure. > > > > Signed-off-by: Sean Christopherson > > Applied [1]. > > Had not set $LINUX_OVERRIDE_SRCDIR when building my BuildRoot > environment which caused buildroot to pull remote version of the kernel > tree instead of local. I.e. ended up compiling kernel without the change > that caused this compilation failure. Not that this is an excuse to leak that kind of code, just trying to backtrack things whenever this kind of stuff happens. Try to be more careful next time. /Jarkko