Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5024824yba; Wed, 8 May 2019 06:49:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqyP8h5IPTlndcN2MZi59jWpjXWatTEJ4pV8Fu1ohiH4lZoqxMtPLT7TOLVFwSN1t0EexJ7K X-Received: by 2002:a62:7689:: with SMTP id r131mr50121706pfc.181.1557323345707; Wed, 08 May 2019 06:49:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557323345; cv=none; d=google.com; s=arc-20160816; b=MFC63GhlYtyBoSRPiEbd+Z8as1tDIH/VMrXbyOgGQXbqLqUX6DllnWE2aaHmYu5OnL cIUdy2SKG3HHQPHfRBuBwaOKOuk0Ng5PV45T2ipH/a7Yc05hmczu8I8LBXz9gQZHqfPe npk4iKYLrHfsh7N6SoT7OYmvX704E+UhJ42y8K/2Yq8xUWkFyswfEpNr6RgvGyCqGSlT BoMH/HFevgd32sYt2lVuCy/Z3KUWzh3Z76ck1ZcycnuThNRjCZEcv21uNNAtr3/KhuS9 PzEkh4Z9+oWpu+UK1WX27o9gCLnek3n3PqmKEREFKj+H3DVH86iGtXM/Jw4PrHxQbpCD YPGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=kJbbAJFYWQiK3L6S9CUI0Dx26CiC4YqXsDcDrF/SSBs=; b=kwcm37zyksOUje0D4IQ8biqmGmmy5iOd/ZZpLV3uUVyc/zuKhcLwR0nZl54I63pvuD DJwhqXTGUWdboCqNdHAeOiCkl+STQm2fOdJIs6zZ2nBRycqfW/yJt/M676q+a7C5Y/kY Kli+zq9BeCz0ax2TJG1D61GsHcbLvJxRTYEn5x0JZdSHVFnGnEtGZlaJ/4W+yzp4CBPs IwA0gztd7qKFNVdRmS5SA8Fcm1J9Heek1hG9/F7G6kF/mWKPumKPIj2VNHU+TWyzcy/a AJBC0ifBtoRPpLDERuY3dXLSArCq6ZLcbT7qmjPGIbjVyFgpm0F35M9aOH/MXRClzUSW OA4w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m2si22025869pgp.463.2019.05.08.06.48.45; Wed, 08 May 2019 06:49:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727273AbfEHNgv (ORCPT + 99 others); Wed, 8 May 2019 09:36:51 -0400 Received: from [5.180.42.13] ([5.180.42.13]:47906 "EHLO deadmen.hmeau.com" rhost-flags-FAIL-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1726803AbfEHNgv (ORCPT ); Wed, 8 May 2019 09:36:51 -0400 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtps (Exim 4.89 #2 (Debian)) id 1hOMk5-0003nM-G5; Wed, 08 May 2019 21:36:17 +0800 Received: from herbert by gondobar with local (Exim 4.89) (envelope-from ) id 1hOMju-0005kC-8h; Wed, 08 May 2019 21:36:06 +0800 Date: Wed, 8 May 2019 21:36:06 +0800 From: Herbert Xu To: Eric Biggers Cc: Kees Cook , Joao Moreira , Ingo Molnar , Thomas Gleixner , Borislav Petkov , X86 ML , linux-crypto , LKML , Kernel Hardening Subject: Re: [PATCH v3 0/7] crypto: x86: Fix indirect function call casts Message-ID: <20190508133606.nsrzthbad5kynavp@gondor.apana.org.au> References: <20190507161321.34611-1-keescook@chromium.org> <20190507170039.GB1399@sol.localdomain> <20190507215045.GA7528@sol.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190507215045.GA7528@sol.localdomain> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Tue, May 07, 2019 at 02:50:46PM -0700, Eric Biggers wrote: > > I don't know yet. It's difficult to read the code with 2 layers of macros. > > Hence why I asked why you didn't just change the prototypes to be compatible. I agree. Kees, since you're changing this anyway please make it look better not worse. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt