Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4392363pxb; Tue, 26 Jan 2021 22:05:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJzRuLqueyTLNE/lECzC9lbuAy2+Y9/wVjDIdsbWpFdR9puG6u0F51i877x/JmXl8KYy+9/Z X-Received: by 2002:a50:fa86:: with SMTP id w6mr7385426edr.98.1611727549540; Tue, 26 Jan 2021 22:05:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611727549; cv=none; d=google.com; s=arc-20160816; b=t6dTxcofpo6LiZuDqHHXFCEkfPIL+FTGEjEYO7OketRtMG99wzxtjng6didVF4JUvy nAQRTisajcgGuPS/YfG9gnfogfi+wevQKPZCPqJkElSxgCj0IOiGoZFcCL5fu1Lm31Au 6Txu8W2Ix9ibL0KBAEy+f5b1x6Ixs35n7SFvL/7xOR6JsvT17xKVrebTHrvRy5yXA/6z oLyYKakLGa5pEEX4b9fECxq49STeUTW1EGdJnx6HFrgdEo4Hzt7cJE3HRSrR79eMwMV0 vpGj1eLBpJR9r40pZ1ATCQieC3r8ghYedPnWK+Odu6/6OGIKEEMDkIvsp+RicRMWEFhL 097w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=6biy8JUamCJDdBFNqe1SOF2nHLfknIhdkBnXF9FUntI=; b=YVOekXSRUrMiWKBSOluiwzqWrpBlLXczNl3Q+1aWbFIaOzOuzHxWQjFGR3wLx0aSWD lS3sY2hM49WK5nKEvY9wQAwB5SC6wPAdtVh0A6DLbIrvQzUe9tkIeXHT+8a7MfF8Wi6Z cXiaee+r8Nz7GICn3W8OMmu8FpJ9dENL3EwvGM3oPuri+PnMfjtgeuJhp1TqfQWN+cME gO0Z8l3WPIOD+Z+iiRQ8rQwpZVhbsJ4IvtQuCseEvZNu/gUg+I/+8oa2JfQcU8L68aiB JTXebvJxkM85KeBqECoCmX9EGdBp/AuUpjRsu2DwkEcZ/THqjHujOqgTU6kJr3ayc/4Z iksw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=h1V8UDm8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ao9si401329ejc.718.2021.01.26.22.05.25; Tue, 26 Jan 2021 22:05:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=h1V8UDm8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2393607AbhAZRzc (ORCPT + 99 others); Tue, 26 Jan 2021 12:55:32 -0500 Received: from mail.kernel.org ([198.145.29.99]:52112 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390565AbhAZIr5 (ORCPT ); Tue, 26 Jan 2021 03:47:57 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 323BD2065C; Tue, 26 Jan 2021 08:47:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1611650836; bh=rng9Nb9+8117ydjRos2PO70jwsMyORCgsjpX+/KUosE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=h1V8UDm8mOOhsmNxbzJp34LP+DyptQ7n81ztp/vXlDzJCHm1MDdlCW1MjZFliX1P4 pOWnsrbxzvRqSTGyDUZ8D8k2/lKzKfE8ZVTWr6t3G3eVFf2yFB1RKJZI2HUkECJkDn 7Lhn+rEcVJLL8PY6/Xlk7Pmeq6ivl4Iht70MkC5A= Date: Tue, 26 Jan 2021 09:47:14 +0100 From: Greg Kroah-Hartman To: Pavel Machek Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Anthony Iliopoulos , Mike Snitzer , Sasha Levin Subject: Re: [PATCH 4.19 12/58] dm integrity: select CRYPTO_SKCIPHER Message-ID: References: <20210125183156.702907356@linuxfoundation.org> <20210125183157.221452946@linuxfoundation.org> <20210125185829.GA2818@duo.ucw.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210125185829.GA2818@duo.ucw.cz> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 25, 2021 at 07:58:29PM +0100, Pavel Machek wrote: > Hi! > > > From: Anthony Iliopoulos > > > > [ Upstream commit f7b347acb5f6c29d9229bb64893d8b6a2c7949fb ] > > > > The integrity target relies on skcipher for encryption/decryption, but > > certain kernel configurations may not enable CRYPTO_SKCIPHER, leading to > > compilation errors due to unresolved symbols. Explicitly select > > CRYPTO_SKCIPHER for DM_INTEGRITY, since it is unconditionally dependent > > on it. > > There is no such config option in 4.19. This patch is not suitable > here. > > grep -r CRYPTO_SKCIPHER . > ./include/crypto/skcipher.h:#ifndef _CRYPTO_SKCIPHER_H > ./include/crypto/skcipher.h:#define _CRYPTO_SKCIPHER_H > ./include/crypto/skcipher.h:#endif /* _CRYPTO_SKCIPHER_H */ > > Best regards, > Pavel > > > +++ b/drivers/md/Kconfig > > @@ -527,6 +527,7 @@ config DM_INTEGRITY > > select BLK_DEV_INTEGRITY > > select DM_BUFIO > > select CRYPTO > > + select CRYPTO_SKCIPHER > > select ASYNC_XOR > > ---help--- > > This device-mapper target emulates a block device that has Good catch, now dropped, thanks. greg k-h