From patchwork Tue Jun 18 07:14:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 167113 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3848467ilk; Tue, 18 Jun 2019 00:15:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqyj3NBVJq5GVGtfWod0TMcvikXdx/VTPCn6hqq4Y+aj6Tw/AEQYKgs2aCSjQfsFivHStyJV X-Received: by 2002:a17:90a:1b0c:: with SMTP id q12mr3544409pjq.76.1560842138333; Tue, 18 Jun 2019 00:15:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560842138; cv=none; d=google.com; s=arc-20160816; b=Y1L1XnbYNVGUo58h92MjCJd2EvKH+QmWHNTM6Zjy0VlRKGZBb0uTyPj728/9eWy7UD kx15ch1pNHtQCukai3cnzesvWJhSWQm7lzl5IKBUtbGbEwp20CMQeuK7MWe5Nzi4PbW8 GfnZEl1b5rO0mruNUTPK0+80x98e5xPfY0l69ykNDFESoJPWp9nKGL9ZcOMYUFrXMqbi XASve6oHc1R9XvYXQisKNzAVl4/8hdKU7UsDiIsF/2D4ch5Q/RMkr7jnPtxJZAzgo6sw CjVio67cJZmZyDmG76TXTUUvJqOFQmkwpMFzzCfJTLvhekTkdPJBgf2liLpQ32NFZ+n6 jo5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=ah3dUvH1WDEmaxC49gNHo5+aMspYOrCm/Jqbf4FOFnc=; b=fOKvIgwVRYbcvkuVMeidYlymeL0bXC6Ah9Z/EnMxPd2p9gGbpPS8Wr8vnbPFep0gQB Fiu7DzXFyTRb2coAwR0FNt676YNuOcZASgVyxKWVwAxunAoYmswbto67rhIAaF9wtnPp h0+q9NVk6OLiH0ndmscMBomPfCmHhP4xMSdAATJZkJHPBuW3l2M/nuayj/j2bq49Ux7i cAiDqdNojE758CWVWlatGm9jDjyC+bTUvy1tzuWZo1VgS0a7C4pKW3zGLPfytrSLvXcc vPHfkLFqSVeZ5GykHyB5RBDDYPerM6eRGx7tVMm2aU0kVJTTI1Ep8zMubvkGwxSOEtpK cAZw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 j10si12262483plg.71.2019.06.18.00.15.38; Tue, 18 Jun 2019 00:15:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728529AbfFRHPg (ORCPT + 28 others); Tue, 18 Jun 2019 03:15:36 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:40343 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725955AbfFRHPf (ORCPT ); Tue, 18 Jun 2019 03:15:35 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.129]) with ESMTPA (Nemesis) id 1M4384-1hd8Kv47Ga-0006FN; Tue, 18 Jun 2019 09:15:22 +0200 From: Arnd Bergmann To: Steffen Klassert , Herbert Xu , "David S. Miller" Cc: Arnd Bergmann , Florian Westphal , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ipsec: select CRYPTO_HASH for xfrm_algo Date: Tue, 18 Jun 2019 09:14:51 +0200 Message-Id: <20190618071514.2222319-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:u3psbrxat/GLqgS5cJ3IaOBxrFJa4MkaDmkx8Unot6fN0EKdDMx y3EvyY4XwZeNwCGB7zwuONa0vqHfcJgX0a0YzA1DQxv2snq+zMtTTeUZ4fVDsp/TLnmtZS2 QISAHpulpONQ/r+eEqK+S+G9A+y/pze7OjmCn3mmE//syAcwak444UsX43iugg0ExoKd063 Da9wl3RqOOjIgYUhe4ZIA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:vpVSPrVCFpY=:gklKkq23m6xWr7LcD0e3DV kPvzYTDTt1UybQ2J+7E5RZaFv5W7UIcw8ieP/RtfP0PhJspeHb8/oBr8FZCC5Q0xf/yZPWCVe MSGKO45HjS2Q8kg09Sa15Hf7mHXXyCFAcp9KkyOUGcb3kmQmqgw9qhLXNfiODPDNLJq4NjSkz TuH0bOoLbiczIImcf69ZA00Vz9Iyy5IMvyI2s/IgjvoGc+1od3TW07N1CNxCAYKejBBZ/UErt cgm4rrXnG4PYe1C9b+yDHCCJiGX2VRTFBA4n0W4Mk1MAQd9+9rXECTuDwqK6PAUFv+BNeirxl 4mZiVWt3AFoZNWu+Bk3t1gqSpx/JPs4eAIJTxJm5TJ4dmGpIXT/llCdVMhUkwZgfPkFhOHug2 gVj+VWy6w9GH3RSC/GkeeWaOBp4yVvw/FI0PL/Ew+Xoy2/pH2t+1aS0pIaQO4ps8AXJZjV/9c lFthLRRE2IBoYdKcnMZ7opmq47Cp133TKbESaF6acf+93Z87Y8La9a/YnouaalsxoHSIhGPGi IX8632Q2KuxlXs4rvYn9/vthJvvzAykis291z7HtvMOI0qdzicCLwAeIAwGjw/HuzXL0C/7ZW /C5NUKaer/JeTwl4J81/c67okRR4fcITbseyFU2Obxe6t6zXKz57/ddRWsBYukdHxjN5TiscS qakAvyqmSUEyKawXH5CxYm9coFZE/flygLitNsUsEgjP2WAMDgAPdoSNMO7L44333VqdJzewA wVMhpKcQJx1VMqmTqmYGVwVccbgwcACh/7hTHg== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org kernelci.org reports failed builds on arc because of what looks like an old missed 'select' statement: net/xfrm/xfrm_algo.o: In function `xfrm_probe_algs': xfrm_algo.c:(.text+0x1e8): undefined reference to `crypto_has_ahash' I don't see this in randconfig builds on other architectures, but it's fairly clear we want to select the hash code for it, like we do for all its other users. Fixes: 17bc19702221 ("ipsec: Use skcipher and ahash when probing algorithms") Signed-off-by: Arnd Bergmann --- net/xfrm/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.20.0 diff --git a/net/xfrm/Kconfig b/net/xfrm/Kconfig index c967fc3c38c8..a5c967efe5f4 100644 --- a/net/xfrm/Kconfig +++ b/net/xfrm/Kconfig @@ -15,6 +15,7 @@ config XFRM_ALGO tristate select XFRM select CRYPTO + select CRYPTO_HASH if INET config XFRM_USER