Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp4544551pxb; Wed, 20 Apr 2022 05:33:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJNKB7LG2uQwoNqdfXxoUIM0O7chK3MagTXkibYKWZl25v9p5hurTsGT0MhnmEJc4meXI0 X-Received: by 2002:a05:6402:358a:b0:423:ec6a:7bd2 with SMTP id y10-20020a056402358a00b00423ec6a7bd2mr14379128edc.334.1650457981815; Wed, 20 Apr 2022 05:33:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650457981; cv=none; d=google.com; s=arc-20160816; b=MbDtWym4d15Z0OviYVz44x9RcnMmCj+1DuUwCahlELpKzAeovz20XAko1nxGEDB0Li 4TauAPdKPKlPAi/RP3c1sPAreeuwz7RF+P4IPyEW5areo4Qu4JTTzh2nP+RqeDy6IlpY mXjup9xQ+fk7zytwcfoU6fTBE0cWTWQXluFsMx/ErtDuEc6VH9zIMtMDg1vl3zwcWGBC GPc6V1MKjGTXdvzoAnujDGO0aQdaU1Bk/asyr6pHqp702rU/A4usHzeQNzR7QYqlv8m5 K6RE1njRUREmdvuDk374Api4aoamG+18PMH0vVvtImFci89jLG+EfmPSizo5EntT49H6 sccQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:to:from:date:sender:dkim-signature; bh=kMG8sFH31a0X0raOtVjkeRqHkhxX2+EF44xf1squ1AU=; b=dUa8m6oGeU2J7A52RTE6dsZ0coBI8aro2xwGHhva01U9ki1PpIHiEvtNEnZZpu/eL+ 5bJZbMf+I49FIuoWtihAskjAkWlzMna6OwYROBVOEs5okPi1GVjmA06PgzDxKWhadwUC Q425DLmfZUEUdyDR4OHFCRGsIZKdmMuwgciEnSIdk4fHcOSgKdAt6TUX+WSjJxGXC81J UVqIHDV4vJy+DpjdhdXyeOuFo8iGfaUB9bBp51pfklnB/AVn5IwZhTc+RmenfSdBvZua ejxASncUH+y/QFYm8b0J7J0rlalmu6/uQiG2tQd2VwV7LI6HHIpBLaMFJODma6KhM+7s zymQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeagain.dev header.s=smtp header.b=sA4KVZ0Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dz13-20020a0564021d4d00b0041d9354ecacsi1695395edb.222.2022.04.20.05.32.37; Wed, 20 Apr 2022 05:33:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@codeagain.dev header.s=smtp header.b=sA4KVZ0Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235459AbiDRXir (ORCPT + 99 others); Mon, 18 Apr 2022 19:38:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234905AbiDRXip (ORCPT ); Mon, 18 Apr 2022 19:38:45 -0400 Received: from m228-13.mailgun.net (m228-13.mailgun.net [159.135.228.13]) by lindbergh.monkeyblade.net (Postfix) with UTF8SMTPS id 81FFA2125E for ; Mon, 18 Apr 2022 16:36:05 -0700 (PDT) DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=codeagain.dev; q=dns/txt; s=smtp; t=1650324965; h=In-Reply-To: Content-Type: MIME-Version: References: Message-ID: Subject: Subject: To: To: From: From: Date: Sender: Sender; bh=kMG8sFH31a0X0raOtVjkeRqHkhxX2+EF44xf1squ1AU=; b=sA4KVZ0YoKQyosjQFQl8Xm1D4EmakoM+J+f9/ATZmjTdAbYpA2KMrxjJy+t6Q36OeDfzu2mU l9LDANP2mKrhAV+d0+zonDEeUXOchG8xp+2CnyLwzqg0ZuWEd72lvglgBIWrSItw1P2vPS2a JvH06R0/8ZClEY/i5o2dWzGkMrLr3F6h88Q0sJHtLT8I+fRv/DxLw5hS02g9wpDURQqjUBbm 8kkp6b7cneJ6dFmox0/5zaoq/O+0XSouEcwhK2aYD0Sdq1i5EGeW0YI5fvIvZCAd2opxOXMG 7hwfTLJHqjdBLS92UyJQP4Z6nQZBt3AqZMVxEOF2SCgWCoYsQa0A4A== X-Mailgun-Sending-Ip: 159.135.228.13 X-Mailgun-Sid: WyJkNDU4NiIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWM2ZCJd Received: from AN5Bruno (186-250-90-1.mhnet.com.br [186.250.90.1]) by smtp-out-n02.prod.us-west-2.postgun.com with SMTP id 625df5e3487c9ee854f9ac25 (version=TLS1.3, cipher=TLS_AES_128_GCM_SHA256); Mon, 18 Apr 2022 23:36:03 GMT Sender: codeagain@codeagain.dev Date: Mon, 18 Apr 2022 20:35:58 -0300 From: Bruno Moreira-Guedes To: Greg Kroah-Hartman , Martyn Welch , Manohar Vanga , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev, Bruno's Patch Watchbox Subject: [PATCH v3 2/3] staging: vme: Add VME_BUS dependency to Kconfig Message-ID: <00de5644d7c2f8c8878eccf86b761e0602732089.1650321310.git.codeagain@codeagain.dev> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="yrwrexl5pnrjq3vj" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE,T_SPF_PERMERROR autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --yrwrexl5pnrjq3vj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable The KConfig file for VME_USER ('drivers/staging/vme/devices/Kconfig') sourced at "drivers/vme/boards/KConfig" misses a `depends on` line for VME_BUS, which is unnoticeable for menuconfig users who aren't be able to select it through this interface without setting the CONFIG_VME_BUS option because it's nested on VME_BUS menu entry. A patch to move appropriately this driver to the "Staging" submenu ([PATCH 1/3], originally sent as a single patch submitted at https://lore.kernel.org/linux-staging/3fbc5325e94b9ae0666a1f5a56a4e5372bfce= a1d.camel@codeagain.dev/T/#t), however, unveiled this missing `depends on` line, since it moved the `source` line for VME_USER's KConfig to somewhere else, allowing it to be compiled without the support for VME_BUS. While it compiles fine and seems to initialize the driver fine (tested both as module and as built- in), it seems to make no sense having VME_USER without VME_BUS. This patches addresses it by adding the VME_BUS to the `depends on` line at "drivers/staging/vme/devices/Kconfig". Signed-off-by: Bruno Moreira-Guedes --- drivers/staging/vme/devices/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/vme/devices/Kconfig b/drivers/staging/vme/devi= ces/Kconfig index 5651bb16b28b..e8b4461bf27f 100644 --- a/drivers/staging/vme/devices/Kconfig +++ b/drivers/staging/vme/devices/Kconfig @@ -3,7 +3,7 @@ comment "VME Device Drivers" =20 config VME_USER tristate "VME user space access driver" - depends on STAGING + depends on STAGING && VME_BUS help If you say Y here you want to be able to access a limited number of VME windows in a manner at least semi-compatible with the interface --=20 2.35.3 --yrwrexl5pnrjq3vj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQTUrsHCxGmQ5vyKRAZtd3tyEY2kgUCYl313gAKCRAZtd3tyEY2 kjTxAQC4E3fMmO6NuNr+ZjnKdvVLMMu7bxef7GU+Z24BXR39JAD+OaIcogcphT/P jxrp/1urNRHFV0DPz3faSKbQlehAZQY= =e2hd -----END PGP SIGNATURE----- --yrwrexl5pnrjq3vj--