Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3420485pxf; Mon, 29 Mar 2021 01:32:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy27ZazSJ+baeVDga9l67vDHsg56U9zyFBnA/ohaCp269ZS86LsK6bG0dHKGAGLs3EG/PJD X-Received: by 2002:a05:6402:4301:: with SMTP id m1mr28410620edc.210.1617006760838; Mon, 29 Mar 2021 01:32:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617006760; cv=none; d=google.com; s=arc-20160816; b=rAvIhzQe66BGvlqDOXIpNdtq6uLHDGn2cqk6tVNuoXMJ1jUB9T8v9WbGPr8+dQeLL0 tAW3RB2+0D6ykEJuqEaVBG3bV07mhLsazOZ0fDuIFqMuoMjf8pJeiYX0navtNbJ3fVJu 01TZM0DyUP9kskEmZ9QteLwdkGrZ4LRuHytE7TDaYgVGiltB1GFzfz9r43P5lpOgRk5B 1Mc3aRLEcVh8w1aepA84p2spm/1klPn+3BAffRmerSRcp4v7Gl6PEferJcxu1S84Ckkf nPieHDUHrVLGbseEwfAOU9C5DvDYUV2okEIsmbd1ulelbuPdVY0jNwyasQqbhUPpwYl3 1bdw== 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=JGm87wrxPKjEicYW+uA2GAoyPV22AAzrWizpbDjKJM4=; b=D/oa93LylB0HQbtllqSJ3Oq5rSTaScNwZq+X6jCHePnZpX0BYPYsdmgoyY4nZoXxY0 gW7q5AQP2WHVS75Q9P7DbWvcfotI75a7kn2P2Wz1dj3fuDr3K1Op2w8/orVJGtshyMdr ZhsAScpZNrbhCUNF0LwYFcY4a306W1LgQmhqQvrsuarFIACpkxglWPDa3XhALf3dirpw EDbpGbK9v7vXT2CKFVHq8yXmZO8dTUDKSZQrOYKoY2nnFUWqqQ46wFi9y+xeIjzC4JBg 7exdmVzbOYPP8Oxuyuyhr1Hmkp9Y6DGWRjwjsDlL5OjZdqo/K7W8RQdIq9Zicc8vYkFv LbbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ajPj6lh1; 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 p5si13438192edt.42.2021.03.29.01.32.18; Mon, 29 Mar 2021 01:32:40 -0700 (PDT) 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=ajPj6lh1; 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 S234441AbhC2I2X (ORCPT + 99 others); Mon, 29 Mar 2021 04:28:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:34088 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232372AbhC2IR4 (ORCPT ); Mon, 29 Mar 2021 04:17:56 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 57E4561959; Mon, 29 Mar 2021 08:17:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1617005875; bh=zAtzDfQAXaeOAB0+XE+qy9KzeC4/LjIy8j9dzfmTH9g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ajPj6lh1Q3cBwF1TSFEKSq5lTk92+vw1q+cDLl3yiVgsC9RERG1djet9NkjzOVh9v JYWaOK5Ao9YfIJsCE+TgWhOsB1pw3qGAcfHJer/ITahXTXq29ZGIiP1tSA8Mh2Quzy uO719MDb0W3NbFkfjYKUBTPHR6mcQ/0kYxstMD28= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Randy Dunlap , Julian Braha , Sasha Levin Subject: [PATCH 5.10 037/221] staging: rtl8192e: fix kconfig dependency on CRYPTO Date: Mon, 29 Mar 2021 09:56:08 +0200 Message-Id: <20210329075630.410705265@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210329075629.172032742@linuxfoundation.org> References: <20210329075629.172032742@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: Julian Braha [ Upstream commit 7c36194558cf49a86a53b5f60db8046c5e3013ae ] When RTLLIB_CRYPTO_TKIP is enabled and CRYPTO is disabled, Kbuild gives the following warning: WARNING: unmet direct dependencies detected for CRYPTO_MICHAEL_MIC Depends on [n]: CRYPTO [=n] Selected by [m]: - RTLLIB_CRYPTO_TKIP [=m] && STAGING [=y] && RTLLIB [=m] WARNING: unmet direct dependencies detected for CRYPTO_LIB_ARC4 Depends on [n]: CRYPTO [=n] Selected by [m]: - RTLLIB_CRYPTO_TKIP [=m] && STAGING [=y] && RTLLIB [=m] - RTLLIB_CRYPTO_WEP [=m] && STAGING [=y] && RTLLIB [=m] This is because RTLLIB_CRYPTO_TKIP selects CRYPTO_MICHAEL_MIC and CRYPTO_LIB_ARC4, without depending on or selecting CRYPTO, despite those config options being subordinate to CRYPTO. Acked-by: Randy Dunlap Signed-off-by: Julian Braha Link: https://lore.kernel.org/r/20210222180607.399753-1-julianbraha@gmail.com Signed-off-by: Greg Kroah-Hartman Signed-off-by: Sasha Levin --- drivers/staging/rtl8192e/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/rtl8192e/Kconfig b/drivers/staging/rtl8192e/Kconfig index 03fcc23516fd..6e7d84ac06f5 100644 --- a/drivers/staging/rtl8192e/Kconfig +++ b/drivers/staging/rtl8192e/Kconfig @@ -26,6 +26,7 @@ config RTLLIB_CRYPTO_CCMP config RTLLIB_CRYPTO_TKIP tristate "Support for rtllib TKIP crypto" depends on RTLLIB + select CRYPTO select CRYPTO_LIB_ARC4 select CRYPTO_MICHAEL_MIC default y -- 2.30.1