From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8F9831103 for ; Wed, 6 Sep 2023 11:52:57 +0000 (UTC) Received: from mail-yw1-f170.google.com (mail-yw1-f170.google.com [209.85.128.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26DE2BF; Wed, 6 Sep 2023 04:52:56 -0700 (PDT) Received: by mail-yw1-f170.google.com with SMTP id 00721157ae682-59234aaca15so36366747b3.3; Wed, 06 Sep 2023 04:52:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1694001175; x=1694605975; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=l619IiJ0KCtPDL+pldHQPgfnh20UhK/b+vepWlezdcI=; b=dudaA4fjypyFwhP+hu2gSd9Ordd7BJMHvRM9myK0Mu/Hknq0+xkQ9b7dtMc6hmdmgH WsTVoTaGKYhxCeEkhrPLVGdHP4Wyr0rDUtr3a3UqevWI6GwIoAh8/7jInXtOH1po35tg 4r1G8bbaouriLUVhfF/zv58BlXgAxqdpE/jvCoVw7yFEqr6o/+MumECeAlCmxItvLVSp iNg8I6zD0IXIm4oeMgBoA3LeA4eal62Uy1pxz7+nY5HWNb4Zs4d6IelZ0BkiBSHxKXiU Vpa5c1j2unytMyIQdaq6Bkhfm806cTRS3bpe2UlZqVmEihI6elikNfzzH4aPwJ0wjfyS L3hQ== X-Gm-Message-State: AOJu0YwubUvcZ4oZaQMFd9A1414gd3x2F1F06EakLjcRFoLi0RIX42nF 4VciHbUkoaHHHdWTHN2GgnAV/utf5MjF4g== X-Google-Smtp-Source: AGHT+IEqW2hWMENiEEBhkk0PRki4fAE8Cr7AYpaV681T0HgxDzyIdsRSvskuMMvi2MsRuHn+gZx7Pw== X-Received: by 2002:a0d:c004:0:b0:592:8893:3fa2 with SMTP id b4-20020a0dc004000000b0059288933fa2mr15966536ywd.29.1694001175229; Wed, 06 Sep 2023 04:52:55 -0700 (PDT) Received: from mail-yb1-f177.google.com (mail-yb1-f177.google.com. [209.85.219.177]) by smtp.gmail.com with ESMTPSA id p189-20020a815bc6000000b0054bfc94a10dsm3705390ywb.47.2023.09.06.04.52.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Sep 2023 04:52:54 -0700 (PDT) Received: by mail-yb1-f177.google.com with SMTP id 3f1490d57ef6-d77ad095f13so2698370276.2; Wed, 06 Sep 2023 04:52:54 -0700 (PDT) X-Received: by 2002:a25:ca17:0:b0:d7b:7249:6dc3 with SMTP id a23-20020a25ca17000000b00d7b72496dc3mr15978642ybg.53.1694001174255; Wed, 06 Sep 2023 04:52:54 -0700 (PDT) Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20230905231342.2042759-2-contact@jookia.org> In-Reply-To: <20230905231342.2042759-2-contact@jookia.org> From: Geert Uytterhoeven Date: Wed, 6 Sep 2023 13:52:42 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] can: sun4i_can: Only show Kconfig if ARCH_SUNXI is set To: John Watts Cc: linux-can@vger.kernel.org, Wolfgang Grandegger , Marc Kleine-Budde , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net On Wed, Sep 6, 2023 at 1:15=E2=80=AFAM John Watts wrot= e: > 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=3Dg= rFihrdsz4+o7=3D_DpBMhjTbkw@mail.gmail.com/ > Signed-off-by: John Watts Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert --=20 Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k= .org In personal conversations with technical people, I call myself a hacker. Bu= t when I'm talking to journalists I just say "programmer" or something like t= hat. -- Linus Torvalds