Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2954977pxu; Mon, 14 Dec 2020 15:50:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJwOa8tp1mLbH2I4qzPSo3i0SE27Dbg6YIcMwbDGpoZJXCbmK0CPnnHil1aZSxPHE26vwTMF X-Received: by 2002:a17:906:acc:: with SMTP id z12mr822699ejf.23.1607989820255; Mon, 14 Dec 2020 15:50:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607989820; cv=none; d=google.com; s=arc-20160816; b=NBYyQJjTSAayOuCnXlTuX0wrgHd9zlaA+N3y1FCPXy6sbi1CyxwdPOZtMZVcmX33pJ MRHQ94JRujtKew/3CJXTrKYZ6BkqAu4tMFu/Enxhp6yM9bTnC9/5l7LpsSa2vK1vM9oc 9iLsXA2ptALW0jtF96Nq/YS8gOupdEsnDJIs26dxNuWnq4LMIvcJJLIeU6qdcFbjI1Er hKIVPvYfUuq8GdK/ZWs7sqLkwcnks8bSfJ7eLjuhG3vWhlcr2o1A2/vsGhei7GQ1m/+C vc16PEUuQEqRyZWCjjthGxsld6KFnFf8Ps+5Ju1SbzRlmbY5bGGy38VGXgssU/N+R2Wd p44Q== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=Td5ERxaNgUghcR2CxTx8m9mGiiPHBazU6UM5nID5BOE=; b=tSVmJ8qhQqE2fgnbimIa/IzxU5qdCi6sl2CDHSs7z46UGGfCjmirN19RES5JMVi+3e Qqy1v4xHgd5hC5sT045MecGtva+p2l8z9kiYJo3yQHT21YmPrNWrqUpKa7pGsij5Lmga Iw/ACf6IWs7iWNfCvq37db9NT276G6gnaeN1JO91J0kxj3zM9qX4v+bptHhOkFUHE8wK UiTRDuaJQotvt2KDoE2v8fAEU3xNLjf/J9HaZR+1hbecnCDtHEJA7bNuYtCAlh/66Rk+ 0k09jjU7lnRjsso7QFQOnf6vV3IDdhLSQ1aluCSlkdtVZX+VKou6Z9bCnpJBsavIu1qk vHug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=qFMZiue3; 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=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j24si24893ejs.60.2020.12.14.15.49.57; Mon, 14 Dec 2020 15:50:20 -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=@suse.com header.s=susede1 header.b=qFMZiue3; 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=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2408495AbgLNRXA (ORCPT + 99 others); Mon, 14 Dec 2020 12:23:00 -0500 Received: from mx2.suse.de ([195.135.220.15]:38484 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392060AbgLNRW4 (ORCPT ); Mon, 14 Dec 2020 12:22:56 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1607966501; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Td5ERxaNgUghcR2CxTx8m9mGiiPHBazU6UM5nID5BOE=; b=qFMZiue3biMH/B8IdMLyHGbeEYMzLalCDyQM5DLAgI1cWvt4ZDH6P49ZwtcIumGpJhsu+v wp75nL3LX/wdcBO1F/kYsH0xDT0J6XLcDa5Tl4cL3M9C21nQJ6tAYTv2bhcH8lVS9ZsEPl oZkeWQmObe2itzVhNbSB8Rg9JojqBRc= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 58FDCAC7F; Mon, 14 Dec 2020 17:21:41 +0000 (UTC) From: Anthony Iliopoulos To: Alasdair Kergon , Mike Snitzer , Song Liu Cc: dm-devel@redhat.com, linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dm integrity: select the Kconfig option CRYPTO_SKCIPHER Date: Mon, 14 Dec 2020 18:18:11 +0100 Message-Id: <20201214171811.27582-1-ailiop@suse.com> X-Mailer: git-send-email 2.29.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- drivers/md/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/md/Kconfig b/drivers/md/Kconfig index 30ba3573626c..5c0e7063f5f5 100644 --- a/drivers/md/Kconfig +++ b/drivers/md/Kconfig @@ -585,6 +585,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.29.1