Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp95063iof; Sun, 5 Jun 2022 22:12:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyRoNVOa1jb52eOx4MO3L/acIRASaJXZ+jZI1F4GdPNPHk5+8XpwxlY4s9zzMPA+oEWqJ6m X-Received: by 2002:a62:f90b:0:b0:51b:5836:ee91 with SMTP id o11-20020a62f90b000000b0051b5836ee91mr22448273pfh.51.1654492330419; Sun, 05 Jun 2022 22:12:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654492330; cv=none; d=google.com; s=arc-20160816; b=0hVca53ss/GQ9y3TNPlzkSGuUfyKJywbhkdYbw6JSDK9V27gBm0o+W8C/4/s9CcJPe X1jMHV2NogLbQoRVSOw1m72nKCpMSSiZlYZC1qGcKgVDmaDz8RY9N+9OYBVNhL4sZOq2 01R3AMLAa/MJR/b3lYGcVASZUcS9QqWy29gR1venAzzgDvaVFx/eAQxj0syd0SbE6D67 RP6X3U/IHbglkarAxI9rILsBbcdruPXbEPUmlJg/QVMAp0Cfp73MRl0zWMJ8Ez25TBK5 g2qRWw2MT7s97ntNrE+/5WuhUIah4wLHgDjvwmB2sGUknH98pm8ygiXE47YMJDl3NqMj 3LRw== 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:cc:to:from:date; bh=GiLqvMo+/AsK79pQhiLiMgvmpEUFveg3WK3bH6M5CLc=; b=ucKmJdKUOuC5yCH5El7ZtIKIjsXHzyA54eBhHtbYvK92r0RfWf3YXjtEq7loYQ1TJ8 XpRWaen7kiOswXqSSG+aT6P7GemXl8lt4sabTepzHItqeZ92ikrerSB7eHu2l403RjV6 5e35kBqbkZ8OKACl9qoQX493HhieMLYEt0up7iEKqP+Utbdt/jJb3fWtIC8OEqLcV/p0 bu45SzzaUiGowjtWrZZFj0AAD6ip2vNCak4ktSIdiTWP4SRI8C0f1slPxHvvEqSo64Jj a1gnJsljzEoDUdoC5gr144V+l5SQyTYHnZAZ6zvGRfGXCoz2oIxRD5mMJvc2QFVVABj5 miuA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id q27-20020a635c1b000000b003c64af6e01dsi19209786pgb.123.2022.06.05.22.12.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jun 2022 22:12:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AAE6C14B66E; Sun, 5 Jun 2022 21:18:17 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244972AbiFDMnM (ORCPT + 99 others); Sat, 4 Jun 2022 08:43:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232599AbiFDMnK (ORCPT ); Sat, 4 Jun 2022 08:43:10 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E42733A0B for ; Sat, 4 Jun 2022 05:43:07 -0700 (PDT) Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=bjornoya.blackshift.org) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nxT7R-0008Cq-IP; Sat, 04 Jun 2022 14:43:05 +0200 Received: from pengutronix.de (unknown [IPv6:2a01:4f8:1c1c:29e9:22:41ff:fe00:1400]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: mkl-all@blackshift.org) by smtp.blackshift.org (Postfix) with ESMTPSA id AED6B8C339; Sat, 4 Jun 2022 12:43:04 +0000 (UTC) Date: Sat, 4 Jun 2022 14:43:04 +0200 From: Marc Kleine-Budde To: Vincent MAILHOL Cc: linux-can@vger.kernel.org, linux-kernel@vger.kernel.org, Max Staudt , Oliver Hartkopp , netdev@vger.kernel.org Subject: Re: [PATCH v4 2/7] can: Kconfig: turn menu "CAN Device Drivers" into a menuconfig using CAN_DEV Message-ID: <20220604124304.ds5eyjnxxvcl543l@pengutronix.de> References: <20220513142355.250389-1-mailhol.vincent@wanadoo.fr> <20220603102848.17907-1-mailhol.vincent@wanadoo.fr> <20220603102848.17907-3-mailhol.vincent@wanadoo.fr> <20220604112707.z4zjdjydqy5rkyfe@pengutronix.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kiq4zve2baid4qzh" Content-Disposition: inline In-Reply-To: X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: mkl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 --kiq4zve2baid4qzh Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 04.06.2022 21:30:57, Vincent MAILHOL wrote: > > > diff --git a/drivers/net/can/dev/Makefile b/drivers/net/can/dev/Makef= ile > > > index 5b4c813c6222..919f87e36eed 100644 > > > --- a/drivers/net/can/dev/Makefile > > > +++ b/drivers/net/can/dev/Makefile > > > @@ -1,9 +1,11 @@ > > > # SPDX-License-Identifier: GPL-2.0 > > > > > > -obj-$(CONFIG_CAN_NETLINK) +=3D can-dev.o > > > +obj-$(CONFIG_CAN_DEV) +=3D can-dev.o > > ^^^^^^^^^^^^^^^^^^^^^ > > > > Nitpick: I think you can directly use "y" here. >=20 > I see. So the idea would be that if we deselect CONFIG_CAN_DEV, then > despite of can-dev.o being always "yes", it would be empty and thus > ignored. ACK Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | --kiq4zve2baid4qzh Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEBsvAIBsPu6mG7thcrX5LkNig010FAmKbU1UACgkQrX5LkNig 012j/gf9H0jLCIOgNudqg9EpeJUg9kt6kqe7g1xpRxAmbPs8FgERZXZrf4cvRKao cYepV5pZX9vy4+sH/EoAjzmJLz9Z5Undty0301Ejetfjqv5C6C7h2vVOpBism5t5 ZvTneDkQaGdL3roPHEvrgPUhprfhMP7VqMx7uRTGBykBmdvko6xWiXDm8U97MbML +dfSfFdxC/pI7RBnebeLSiiq3GAOr5ueXpqBBjtkjQFzweHhsLDRnoOsolUMqwkW sWFC4I7UIds8iUyJRb2eM0uOvyMEVmuo/x4SKr0jLCpwcBOaUwRPYoMeEdpmUvaM a5r5QbscSEDe4v6gnp8KCZzLwjiTew== =Mc5r -----END PGP SIGNATURE----- --kiq4zve2baid4qzh--