Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2802944pxk; Tue, 15 Sep 2020 02:47:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzdYEkLxY7G0Y8Kl/hFfXo4EHE/pwuVWtmOEkvu6bveOma+uucodf8bHw+LdJ9ACh/JT/nb X-Received: by 2002:a17:906:d0c9:: with SMTP id bq9mr18936276ejb.352.1600163227485; Tue, 15 Sep 2020 02:47:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600163227; cv=none; d=google.com; s=arc-20160816; b=yn/oJL7wPBcbp9Td7cG397QUwehd3KFm+gLSJahMic8Wy+7o0IU1/bcbwsfFm9+Tt7 dLVOJ8MwJNHHXMZ5/TX/Mehl8OyvPMt7elJqCoJjPqPqY4b9OMe7ZCwfS5sagoQMx5la /dTLCn7J18l6qrGHlExDicD6xW/NkcGJxozONVk9Lww/51tWVTDu32AqfODkyY0R4cMp nqfXJs/bhjdvAZ1bdjROnqXRrY0WolTEqe5q9vKMxhhmClgvjYmPcnHUvCkmSgJ4GTIM jcfFOYm/GcG1uu0TC254yexbjqb2IhEpnbMypocHadKxJkfwmbvKXbPLrjMl0N9n5Osl rdGA== 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:dkim-signature; bh=1MZenw7ivkEO7G0cqGbvnXeO0j0tykvYhq7DAb7ri5A=; b=nMOpKB88DDccHJ8MaWNMmW0bOq4ylH97T2NPlD+phT+TWFpKvVLXDE4KZX1RWzYnr8 TQIKCaa6bAKirw8g5SpeBMvYyylRTO3THeFkGfDPXnFAodcj2ORROPUVxKe7jeNFXhre CkbGUVxB/pSNga9nOyu8mnQRlQB0sIiAh90beoOznjV66sfrBjMaZ5ElZi3B4nxaBm0f OUDKoCdLm9zGkhLhfZU435T2+6R6roV106SzRi8JNWPfQO5leKlALvhV55mLzBpse13p ss1syju5FhK9l4D2GXEEKD0SvrJf37tdcw9GSNsPb+lim9vQ0cL/ZmYD2nj9t70SFuFd zTvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="QwexKL3/"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s25si7435488edt.544.2020.09.15.02.46.45; Tue, 15 Sep 2020 02:47:07 -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=@gmail.com header.s=20161025 header.b="QwexKL3/"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726335AbgIOJoF (ORCPT + 99 others); Tue, 15 Sep 2020 05:44:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726102AbgIOJoD (ORCPT ); Tue, 15 Sep 2020 05:44:03 -0400 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7355EC06174A for ; Tue, 15 Sep 2020 02:44:02 -0700 (PDT) Received: by mail-wm1-x342.google.com with SMTP id l9so2745070wme.3 for ; Tue, 15 Sep 2020 02:44:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=1MZenw7ivkEO7G0cqGbvnXeO0j0tykvYhq7DAb7ri5A=; b=QwexKL3/mXpdmI3QfPiic+6kNLVREkv+eBUeY4gzTMZ8JLvTMGXQ+UJfjm8NR4A6U3 PBaE8ktM9/9QPojYJV2pUXFfq2+cvOWDW0fkHuVx3+eijz0f2kp2B//5Ojk7QRWT5ly6 RJ/90ybEy9tCcIpZLXFLlMO+tJxqseWAaG2hvGq/0vP4TJOJEmzBpHP74xDUqkGC+sCn rJ5ggnlVajI03rpZ4muu3MuMO7isGf214UcggMGQMCHppH6D6B3aviMaUX95eUPguYdZ mEqADPUX96pHo2IaZGs2Pr4ykzAnAtGAAQ9mZoWW5KQGg4w/ArQjwwHk+7lVIRGQ1kKB C5FA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=1MZenw7ivkEO7G0cqGbvnXeO0j0tykvYhq7DAb7ri5A=; b=D1yz/bBQb8Hk28drl9N36l8Cd8DqqIlKBRbeM0/LSbMV330e2UI/RLH+LZ0j5+WLei trv6hJi0a3ar5UpEhpqPzi4oA3TZw9pWRJxZwGx6RH2bpnitiJBW7WTx0boUOQzazBy/ IXOlk86A2bSjEQnU3DCkUzdX46Zmm3xb4S8VFVCtKUo9IjqnmYeSNwoygE2MjP7RfrDo VCf2G6baankWIZLB9A7JT50g6P87Sbybhkim5T6JDp0jKn30QbIiS9gineQhLIBhWwzL Ewe/aTsHhPkaiRN3ZcuwNhTzY8gSbvdIjPzv8fsvjDTXDVYqp8xWxYVJG43qdIyH9Wqc RSrw== X-Gm-Message-State: AOAM5300/hrqm9SkKYv1HnjCCGrE2UTDBSBKJum+VDPyabMvkGIqAnPf XwggxXW1kIRCoMdlkKABI04= X-Received: by 2002:a05:600c:2054:: with SMTP id p20mr3701532wmg.173.1600163040073; Tue, 15 Sep 2020 02:44:00 -0700 (PDT) Received: from localhost.localdomain ([85.153.229.188]) by smtp.gmail.com with ESMTPSA id 91sm28149156wrq.9.2020.09.15.02.43.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Sep 2020 02:43:59 -0700 (PDT) From: Necip Fazil Yildiran To: gregkh@linuxfoundation.org Cc: Larry.Finger@lwfinger.net, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, paul@pgazz.com, jeho@cs.utexas.edu, Necip Fazil Yildiran Subject: [PATCH] staging: rtl8192e: fix kconfig dependency warning for RTLLIB_CRYPTO_WEP Date: Tue, 15 Sep 2020 12:42:10 +0300 Message-Id: <20200915094209.22664-1-fazilyildiran@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When RTLLIB_CRYPTO_WEP is enabled and CRYPTO is disabled, it results in the following Kbuild warning: WARNING: unmet direct dependencies detected for CRYPTO_ARC4 Depends on [n]: CRYPTO [=n] Selected by [m]: - RTLLIB_CRYPTO_WEP [=m] && STAGING [=y] && RTLLIB [=m] The reason is that RTLLIB_CRYPTO_WEP selects CRYPTO_ARC4 without depending on or selecting CRYPTO while CRYPTO_ARC4 is subordinate to CRYPTO. Honor the kconfig menu hierarchy to remove kconfig dependency warnings. Fixes: e0e3daddad36 ("staging: r8192e: Fix possible error in configuration") Signed-off-by: Necip Fazil Yildiran --- drivers/staging/rtl8192e/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/rtl8192e/Kconfig b/drivers/staging/rtl8192e/Kconfig index 1007eea6c8fc..5ac06061cfce 100644 --- a/drivers/staging/rtl8192e/Kconfig +++ b/drivers/staging/rtl8192e/Kconfig @@ -35,6 +35,7 @@ config RTLLIB_CRYPTO_TKIP config RTLLIB_CRYPTO_WEP tristate "Support for rtllib WEP crypto" + select CRYPTO select CRYPTO_ARC4 depends on RTLLIB default y -- 2.25.1