Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp303933ybt; Thu, 9 Jul 2020 23:38:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQ74oL+SbZi/32GWqdfnXyjkWre3q9xbwg0cWc0EnUyCBputS1Sw1WpTpivaKpplVB7ury X-Received: by 2002:aa7:c885:: with SMTP id p5mr62861184eds.100.1594363109230; Thu, 09 Jul 2020 23:38:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594363109; cv=none; d=google.com; s=arc-20160816; b=BrXyZiKc5yl5WhKNG9MmQ3y3/2xkpmYn2OzSPx7WQAMtCpCqfICV+3uydsh7ZkcEd1 AC1lDXZmz8P5x3ZZ1k6F/PKdkX5YpRhsNcsiEEeXx6KZPbDEYijt1dOT20EAzABLV3Uj hv1123viNk3VAkaTGejfXoNk2D1imeNhjvhD96Awj4L1c6S3j1C8zsXbcAXHnld3y3E8 KDbMXa7LAEtZmRx25zz7tNGdsRuo58gLWy7k1LlvFGT6Iaa6gqnbeVx8UV51TKt5CMyn CDTdS+3qXZvM1WmVhOQM/Qi+5k8HHtsONo1Iev8PAlH3VOU0zrCiFlBc843tYZftZLcP 7tDw== 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=bXwLpDdUWdBzoQyBiW1OT/zsbmRZDzQaX2+M+ts70TA=; b=HVGywR8WUXPzzHFnMc6zlBEOqis8KmbGhlQoSAcsmRqm0D/NShx4K1xEi0cnJ/nEvx emCr8X5uNwpvvOklWYciHiDYaadf3luEtpQO2XTmnKYzaDG7EI0pYmeLw14924PTApAi 9Q8BbvGkJTlruXHi3q12KYQ67z/l7J3o6K6GDfbLbMVRgW+QHZ2XOj3eTJ4PcsGXQ4h/ ZLHqRRo9mGKZeX78rCR0EiJ++TDU3mIYi8OtrWe2fHXXvBwRkxJu7d4HEtKSccw04R7i CnlfL0dSGYF7j4cRhQcaDKg3Zmv0hQQxj6EoyHiHJ18v3ijmr5x5LvxQFK22vi00NKId YMkg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r6si3261312edl.422.2020.07.09.23.38.01; Thu, 09 Jul 2020 23:38:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726664AbgGJGh6 (ORCPT + 99 others); Fri, 10 Jul 2020 02:37:58 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:38298 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725966AbgGJGh6 (ORCPT ); Fri, 10 Jul 2020 02:37:58 -0400 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.0.7]) by fornost.hmeau.com with smtp (Exim 4.92 #5 (Debian)) id 1jtmfS-0006IF-3g; Fri, 10 Jul 2020 16:37:55 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Fri, 10 Jul 2020 16:37:54 +1000 Date: Fri, 10 Jul 2020 16:37:54 +1000 From: Herbert Xu To: Eric Biggers Cc: mpatocka@redhat.com, linux-crypto@vger.kernel.org, dm-devel@redhat.com Subject: Re: [PATCH 2/6] crypto: algapi - use common mechanism for inheriting flags Message-ID: <20200710063753.GA1974@gondor.apana.org.au> References: <20200701045217.121126-3-ebiggers@kernel.org> <20200709053126.GA5510@gondor.apana.org.au> <20200710062403.GB2805@sol.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200710062403.GB2805@sol.localdomain> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Thu, Jul 09, 2020 at 11:24:03PM -0700, Eric Biggers wrote: > > I decided to make crypto_check_attr_type() return the mask instead, and do so > via a pointer argument instead of the return value (so that we don't overload an > errno return value and prevent flag 0x80000000 from working). > Please take a look at v2. Thanks! Looks good. Thanks! -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt