Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3252477pxb; Mon, 25 Jan 2021 10:44:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJyelyiy6b7DdalE89VkNK0GinrVLgeXGdkeVKvfkYXmnpUP9jHUj5UYDrnDA3C/TRRYVste X-Received: by 2002:a05:6402:79a:: with SMTP id d26mr1605600edy.266.1611600276757; Mon, 25 Jan 2021 10:44:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611600276; cv=none; d=google.com; s=arc-20160816; b=qfsU26UYxh/e0GkehmYYyejyWoAGk61zIFo9QsN8u2jUwFgjuBOdD+8kYKTmnSP39k eix7E438k76IMHxRZ0f29K6x1mFZQNKwcuqvTD9WVndBX2ZSLnQRqJVeJQDoB8v6k7BS YXxh9lR4Rli6STyKDUCANFW3qhD0OjmC4rDnjtPIzt6EoVMACaG6zNbQ+et8cZUltiEQ agHj9zr3y2iS9VQ5Pc69jqKY3NjySArzoVMK+kYuPjnx2SlX9r4RZZesUW91XYWsDwe8 YT5NwkodWEhYC1q/rkS/Zbj2Q+9WktqCK00CgrEad20Pa4SgqQmVklASSZk+UUH52Ruo eSwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=6ICgqIOfdzNm71V1xBZOjopkDjNpDCIsimXYQp/H6pQ=; b=q9pxN1lKOdTuXOykzZ3Z8YeLuRvr4Yrq/vyWrr6gwO3vcavhvn2SQyWeUch/lV6cAe kq5tm3E28qBPcwtvfRitk4S0CSLTmYu7ROp1VPQfG0nQs287CaYvcI/oR8pkh1uMgZVY jDIrHAbL1iE/6knMoW3Z+Na8VC9Ka1NkwM5fw7dFgrhh3Qmeg8D/yzKtZ0BhvvLAdlTN 2xGCUKOGc6eko+bwUI4tAYwCR6BqInO9wRlKfjhq3zZzGqQmoDM8RHaZJK7590UKEPvO 2KXmNjCqF0mgueTSHEXmTljF46QsVrEir5X1A8OlaMkHrW/jJM56TpThahBRfudDObno OknQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=VaB10BsJ; 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 z8si6542086edq.163.2021.01.25.10.44.12; Mon, 25 Jan 2021 10:44:36 -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=VaB10BsJ; 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 S1728143AbhAYSnS (ORCPT + 99 others); Mon, 25 Jan 2021 13:43:18 -0500 Received: from mail.kernel.org ([198.145.29.99]:58456 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726847AbhAYSmG (ORCPT ); Mon, 25 Jan 2021 13:42:06 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 828D8207B3; Mon, 25 Jan 2021 18:40:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1611600051; bh=5rQcYV71KV3JmQ4KsDwVdvTYld0jKiuvXxDFcSAvbW8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VaB10BsJcM+FnPHorO1eHR/gy+9UXbM6/pZ2gZup4QajGCx47G9dHWrtcdqbMJXtr 0fuCByVnkOvFL4QaiDYrFmbRGeE5H3Fx84hqzwXOkVppRZ3KI+A2HCWdA9tzFoVhOX TdtoCFaqGEYwsi7ibXcsMJShGYCPsxDk0z26r7FU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Anthony Iliopoulos , Mike Snitzer , Sasha Levin Subject: [PATCH 4.19 12/58] dm integrity: select CRYPTO_SKCIPHER Date: Mon, 25 Jan 2021 19:39:13 +0100 Message-Id: <20210125183157.221452946@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210125183156.702907356@linuxfoundation.org> References: <20210125183156.702907356@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Signed-off-by: Anthony Iliopoulos Signed-off-by: Mike Snitzer Signed-off-by: Sasha Levin --- drivers/md/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/md/Kconfig b/drivers/md/Kconfig index 8b8c123cae66f..7d61ef03cb187 100644 --- a/drivers/md/Kconfig +++ 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 -- 2.27.0