From patchwork Wed Sep 26 13:00:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 147581 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp692664lji; Wed, 26 Sep 2018 06:01:04 -0700 (PDT) X-Google-Smtp-Source: ACcGV63E0ueA9HDFzOdEUn2QqyIRB44marHf3W5F7Zzg2GYLRd0LnRA/9JL+83NivnCGynBkXCAL X-Received: by 2002:a17:902:2f84:: with SMTP id t4-v6mr6137682plb.87.1537966864396; Wed, 26 Sep 2018 06:01:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537966864; cv=none; d=google.com; s=arc-20160816; b=cYSW6M7HX9dmldKGdpzwXHJpj9JZWC5RaCKeIJiXyIZEgc2H/xdun9MTPmdxenVrdG LKfcMF4REKnms6JMRNmDCuUHBmbM7Z55/LEZzEVa25+d+cPg5X2KvG47ImegpeQG91ud 48rDBYUNDthvhizcVc1HRBq4xyHfnHH0RTAJeFp82gB+n0elqDaB6Cn9WAhwnZrpYcOG S6RGM7muqMvThA+uEOyJJTVtubkERlFMJ9Vhml8pkuJXsAOg4BKNgKHRRqdCi4ty2qdO K/kWKk5LW3hlBkxOUvC4paDCgFSEcM5b2jNymATSeP+LmsnLNdZAFV3hvhSR1X/UfP6I p6Fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=ilF0aFWfw6CmIZ/i5g8TxX8RWImhp0l3PpNhVslvvhk=; b=m2nIMWZXiBYlRHRLRcWCo1xinj9rwKc3rwADrfLUKxw7N12hE7kxVJLFWeNS37PHH2 amfYlzFUL19DAMbrSk5kboEKoxDSkMIE4NXIDjVh1gXc8qy5K+aZlu7oVAuxxnj38mgu 3pqq+vihtZqOHYnsA7ialmCQfsTLKP4SQoBo+C5wV+N+pGIpPaom3IkVthq1A/kgWEGh ZVe3zNOi5iHZ9i2RzV3xOSTDhWFylzIZjwa4+WdmVxLhqTK2but1r48TaaeRL3VPEOMR lcAyOC5WhH0iRqC+FOG7Q/gpooP240Tey5JGwNmVpwpjmvcoE8csWLViPzshq2nZfSCl 9vUw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-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 n2-v6si5424779pgu.103.2018.09.26.06.01.04; Wed, 26 Sep 2018 06:01:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-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-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726602AbeIZTNz (ORCPT + 2 others); Wed, 26 Sep 2018 15:13:55 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:57905 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726315AbeIZTNy (ORCPT ); Wed, 26 Sep 2018 15:13:54 -0400 Received: from wuerfel.lan ([109.193.40.16]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.129]) with ESMTPA (Nemesis) id 1MHG4W-1g0nrM0qYa-00DGFy; Wed, 26 Sep 2018 15:00:48 +0200 From: Arnd Bergmann To: =?utf-8?q?Horia_Geant=C4=83?= , Aymen Sghaier , Herbert Xu , "David S. Miller" Cc: Arnd Bergmann , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] crypto: caam/qi2 - add CONFIG_NETDEVICES dependency Date: Wed, 26 Sep 2018 15:00:34 +0200 Message-Id: <20180926130045.2295764-1-arnd@arndb.de> X-Mailer: git-send-email 2.18.0 X-Provags-ID: V03:K1:jFmvqKPYZ7wjK9eorhQrADMyBvZ0MG9gG4d8kLkp05yhiGADQiK t66jz/xvYHZ3VFEG0wCWfLhsMRFVci9kwYidKhWO/39ULnufaLwuv63yV5bxAu/HxxmjUKA obFdj9AHGL06JKeX8DIdbTlWbNEZW3oxMK7oIAyO+MyJ/cIzOk7xP6zcZN04o6ZnHxdbuSM qBdNVe5ViCm/gfYy0lC7w== X-UI-Out-Filterresults: notjunk:1; V01:K0:LppjjwIISME=:c7sXElmBtAoa+NpRjCu1kZ ptKrR4rOALMwDBJT/2zquVWdjW/Y4eKjM0C4jlRwHISuJKUwgg1Mx4sfPRF9xFyS51YEYCZi5 P2MdN6zL5gEbh6BKKbwAZhqzg5ZdynPQYm7pYq3VxUNHYwW8Je4sRmls9IL7iH3CPUt+5bnM8 PtBEFWIGbHU5Ldyb9q51BWBPN22Cpzat2uI2yQw4oDteFNexb7QRjv1K7p+ZLNEC1NI1dIs8B UupfbHYrB23FdkEY0qDt1fC+ch46w3k01KAnpUIlyHTjyGzzqXbTi3Ex0IOu0leuY1cKwYx5s EG+KBwyq6NDmrO3rwhWVV3c219Y9EFAMCP5oJaOHq12NDoX4k21M9tiNX0Cac3svgm9hmwZGY 682lcs/vQ8Mtt9x82mx2Wp7OMVXR6TgH6BC2RaI14zlImQxx39nomYnY433YkehMqVSIYi+dE p+pe8Wxsp8neJJxUHsEPeHJgqztF8Np/7pFTv9GlKZRa1IrMu3cn1v5HRP/3e8Jq30e5JZObO pqHLz9mfybiXT8PgQq4z5tFam+/NlSSPtHHy+DRYL/eZ3dB0AXEig5cJg8DbTY8YKgIXNP5K4 hjMM7cSy3CNaFFEDn646M7NxLqxULuDqQEga6suZ2SPn7ONBTwrt+nt5dkdmh/XyyjAHs8Az5 2rkL0OBBxe3IjCKUDeVZdwvT5h4oUiwVXaa6pskFOQTB7I/oNvtBjijBGRYZCDkEsbQY= Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org This driver implements a (part of a) network driver, and fails to build if we have turned off networking support: drivers/crypto/caam/caamalg_qi2.o: In function `dpaa2_caam_fqdan_cb': caamalg_qi2.c:(.text+0x577c): undefined reference to `napi_schedule_prep' caamalg_qi2.c:(.text+0x578c): undefined reference to `__napi_schedule_irqoff' drivers/crypto/caam/caamalg_qi2.o: In function `dpaa2_dpseci_poll': caamalg_qi2.c:(.text+0x59b8): undefined reference to `napi_complete_done' drivers/crypto/caam/caamalg_qi2.o: In function `dpaa2_caam_remove': caamalg_qi2.c:(.text.unlikely+0x4e0): undefined reference to `napi_disable' caamalg_qi2.c:(.text.unlikely+0x4e8): undefined reference to `netif_napi_del' drivers/crypto/caam/caamalg_qi2.o: In function `dpaa2_dpseci_setup': caamalg_qi2.c:(.text.unlikely+0xc98): undefined reference to `netif_napi_add' >From what I can tell, CONFIG_NETDEVICES is the correct dependency here, and adding it fixes the randconfig failures. Fixes: 8d818c105501 ("crypto: caam/qi2 - add DPAA2-CAAM driver") Signed-off-by: Arnd Bergmann --- drivers/crypto/caam/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.18.0 Acked-by: Horia Geantă diff --git a/drivers/crypto/caam/Kconfig b/drivers/crypto/caam/Kconfig index ec42fb652167..619a2c929f3e 100644 --- a/drivers/crypto/caam/Kconfig +++ b/drivers/crypto/caam/Kconfig @@ -156,6 +156,7 @@ endif # CRYPTO_DEV_FSL_CAAM config CRYPTO_DEV_FSL_DPAA2_CAAM tristate "QorIQ DPAA2 CAAM (DPSECI) driver" depends on FSL_MC_DPIO + depends on NETDEVICES select CRYPTO_DEV_FSL_CAAM_COMMON select CRYPTO_BLKCIPHER select CRYPTO_AUTHENC