Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp5771492rdb; Sun, 17 Sep 2023 11:30:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGfe/9t6vi+nzku4UocfhPLY1PBbozHezGdNSE4dX2507fueGSODwFVEBFdRG0DqVQSFyza X-Received: by 2002:a17:902:f693:b0:1c4:29dd:2519 with SMTP id l19-20020a170902f69300b001c429dd2519mr6578136plg.67.1694975408876; Sun, 17 Sep 2023 11:30:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694975408; cv=none; d=google.com; s=arc-20160816; b=L+UItiGxdEVv+PaTrEz8UgPKnLPtOyG3+OVZiC+5QWXP3/TA+qAI4u541dCQoq9koe RNO3cuCf9FKV+E/7VPXvkDVKW3X37Rqxs9fg4CUCZdu1H0PsuCgYce7r3hDmyPCh6WUt m+qSahcMPJC1cy0B5fcXmoszZ6HpJspvi1dSsVhAtyF811K0IpzT5Y4lIPrKb/IkV5Zb 2pD1PJY0Ga9xGxUu+jBcQQaQnK0fIQi/coCa/EhfrFuBaser7A0UoZrIUFn8w5GzZ04I xj7f5xSpBSPLZDjDDk1bopoMnGbtu6BbN7Q7scpNPLbl9S2JBP3n2ZqZCcoJDNI5Ydne lyAw== 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:dkim-signature:date; bh=cWEPku0i8kVPsZpOe1gkv2DiCKZJ0Jfwih7/n8DF784=; fh=h6MtSrkqK2ZCUWiVx/ZQ2Vt9UhczM+HyMAEDAdSlMZ0=; b=N80I7hQWOgCD/wEegtIA5oqKh/0ot5Gw+DOrx4/pot9+S7pqz5CGza1vyxADH3lO2v mmbm1dLFiCOkGrEna16GxCmZdU/paTWmE5jOEkzNnYQIL0Z5o3WbGlPyaKmlI3/l3XTl BxCrjk3EWftd9FZFtjFwIlGlOhmkjVJzL1OJ8mGXKsG3M1VFKfGRgfdZmEUbxUwVM0pY GuC9FmJKxTbsnQAnXX6DLKv4CkmZlnTVALZffKBS6kUBSZLNWNKPOJOmu6Vj7/pYr2rD OOsQVsT8ZZTT+bgzRIvlrE9EeYHbptw4BJ9aExykz5HFs4oz/g3jEjqwx7JDjltwoVH5 zNTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jookia.org header.s=key1 header.b="se7/6/QM"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=jookia.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id m18-20020a170902c45200b001b4fc117bf0si6664939plm.116.2023.09.17.11.30.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Sep 2023 11:30:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@jookia.org header.s=key1 header.b="se7/6/QM"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=jookia.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 23BC8801C01C; Sun, 17 Sep 2023 09:47:06 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235690AbjIQQq2 (ORCPT + 99 others); Sun, 17 Sep 2023 12:46:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237140AbjIQQqZ (ORCPT ); Sun, 17 Sep 2023 12:46:25 -0400 Received: from out-210.mta0.migadu.com (out-210.mta0.migadu.com [91.218.175.210]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E2AC130 for ; Sun, 17 Sep 2023 09:46:18 -0700 (PDT) Date: Mon, 18 Sep 2023 02:41:39 +1000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jookia.org; s=key1; t=1694969176; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=cWEPku0i8kVPsZpOe1gkv2DiCKZJ0Jfwih7/n8DF784=; b=se7/6/QM0A8jm9+kIdXkUD3Jf6aYwkf6CSra3Mddks3SB0bfk7CUE5iQyuYNXvelfrLiIO gG86cqzwkLn7Fj50xHajVTRKAPbMR4UwO+lxAtR7wAdXTUFi9e01LUXiplLeCXEWsYbvtV aOtiEjof1sHiIwLA6SQG5aMDNLUw7E5vK9v5cMqjDSXOXjjh7qJO8faxgdvSpuaqpOKgdH GzYlxOQt4DE/BfkYobq6EvHORYo/wVuOr/Yu3tLOGqLbJ/MZ3y8jsdv4NzkOG4nVeJA7qd QRfHK40BzGPumrAcx8/lo56P+JuZhu61BnmhuOXrFHaF5CnvucD4RJTdk7PE/w== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: John Watts To: linux-can@vger.kernel.org Cc: Wolfgang Grandegger , Marc Kleine-Budde , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: Re: [PATCH] can: sun4i_can: Only show Kconfig if ARCH_SUNXI is set Message-ID: References: <20230905231342.2042759-2-contact@jookia.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230905231342.2042759-2-contact@jookia.org> X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Sun, 17 Sep 2023 09:47:06 -0700 (PDT) Hi there, I'd like to bump this. Do I re-send this or just reply to it? John. On Wed, Sep 06, 2023 at 09:13:43AM +1000, John Watts wrote: > When adding the RISCV option I didn't gate it behind ARCH_SUNXI. > As a result this option shows up with Allwinner support isn't enabled. > Fix that by requiring ARCH_SUNXI to be set if RISCV is set. > > Fixes: 8abb95250ae6 ("can: sun4i_can: Add support for the Allwinner D1") > Reported-by: Geert Uytterhoeven > Closes: https://lore.kernel.org/linux-sunxi/CAMuHMdV2m54UAH0X2dG7stEg=grFihrdsz4+o7=_DpBMhjTbkw@mail.gmail.com/ > Signed-off-by: John Watts > --- > drivers/net/can/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/can/Kconfig b/drivers/net/can/Kconfig > index 649453a3c858..f8cde9f9f554 100644 > --- a/drivers/net/can/Kconfig > +++ b/drivers/net/can/Kconfig > @@ -190,7 +190,7 @@ config CAN_SLCAN > > config CAN_SUN4I > tristate "Allwinner A10 CAN controller" > - depends on MACH_SUN4I || MACH_SUN7I || RISCV || COMPILE_TEST > + depends on MACH_SUN4I || MACH_SUN7I || (RISCV && ARCH_SUNXI) || COMPILE_TEST > help > Say Y here if you want to use CAN controller found on Allwinner > A10/A20/D1 SoCs. > -- > 2.42.0 >