Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp639526pxb; Tue, 5 Apr 2022 16:56:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJygSNo+RqEQXGok7f8L1vOHqPnwcMOLFfsvysAVqAg+hL/kkmdQrRgX5lU9wyKWaPGfPC9X X-Received: by 2002:a05:6a00:15d6:b0:4fa:f217:e2b2 with SMTP id o22-20020a056a0015d600b004faf217e2b2mr6053653pfu.64.1649202999708; Tue, 05 Apr 2022 16:56:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649202999; cv=none; d=google.com; s=arc-20160816; b=dTwx2T3P3wRKBRA78flRn2Rv4va2jPpey2I7gDKwR2LJLzUaBo0FD0YILcHS5GiGwm rJ60qU2x0lAf4d10ocpH1YjVVQptiLD4DmGqlcp39lT6InayTTe8MsiUFe2aYg7SWpoo EaLIZ3LF1qgDIluc1QWDe+rr2U0spG3FJi5VKMEwp8HVsfgcuCziflm2KOUzi00BZfNH cwoBaTeb2A3jAIxdwvykXqtLFLEYzQTzOTPmA2Nn+pOFn3ukTKf7S/YrHtnx8Jgj2nW9 4P+skueCmVLoEq0VOStVONDyMP2K8WiNXwr5h0Q6JnofuQaRXromoYYBbBooT6gPfrRS yJpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=cV89w/hHzSS4rpt9h3+KtDPhPfzjfc5kXuplGlLLlhk=; b=jVkAZCxo2NTI4G77+fc/u+mfpZYkg2oqFcWWS8h5qryHKN1eVkwmT1nIoOAA8DzXyt ZUQmSaQKfA50cYvkzt2lqU82T+mF8a2Fp/2clY+qKvqE7LqHS6O/CQbw+1eLVUY/SpTQ yReP+Wzh65effQZU0j18gHQ4suHtXdPmUqecfvX/lDKY0pyyZ2weq64skz0hPrdGUqzi 3xjgUwMgzjUxkYHiCQV8gO4LnkQLPWIG7gFIjzXVXL3CDn7iM/UMpIM3gzMPDKH817ku gQMenG2yWbPHshZoCVrY8zR5+vr9gokRvA4/t2rtsJBMQpYCk3ohXKBIFekjUBcu3bUW tXHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=DzvXelg5; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id l12-20020a170903120c00b00153b2d1652fsi14204145plh.311.2022.04.05.16.56.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 16:56:39 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=DzvXelg5; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C1CF9279714; Tue, 5 Apr 2022 16:42:10 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242605AbiDENuk (ORCPT + 99 others); Tue, 5 Apr 2022 09:50:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347214AbiDEJZU (ORCPT ); Tue, 5 Apr 2022 05:25:20 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2F54DBD36; Tue, 5 Apr 2022 02:14:57 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 201196164E; Tue, 5 Apr 2022 09:14:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 304E3C385A3; Tue, 5 Apr 2022 09:14:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649150066; bh=oPodn0ztNol+LNm49PEtGqL8jXdiQr3R6lw3KsHDegQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DzvXelg5gjV+dviWZDYGUeI+tRcz8dmD6foPcAskKtWzweunUqWi4LduYrKSnyXsq e4/hSaHFsNRE+ZRSYPT7FJ5eEY65XdXW9Z1qvSTNHAN7MjmCcx2jpTFvVRzf5g/3i3 /nBzXC/ae0XbTD+J5Qa5yfyhXbfuBm5RI1JUB5uA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Randy Dunlap , kernel test robot , Horatiu Vultur , Lars Povlsen , Steen Hegelund , UNGLinuxDriver@microchip.com, Paolo Abeni , Jakub Kicinski Subject: [PATCH 5.16 0942/1017] net: sparx5: uses, depends on BRIDGE or !BRIDGE Date: Tue, 5 Apr 2022 09:30:55 +0200 Message-Id: <20220405070422.176390423@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070354.155796697@linuxfoundation.org> References: <20220405070354.155796697@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,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 From: Randy Dunlap commit f9512d654f62604664251dedd437a22fe484974a upstream. Fix build errors when BRIDGE=m and SPARX5_SWITCH=y: riscv64-linux-ld: drivers/net/ethernet/microchip/sparx5/sparx5_switchdev.o: in function `.L305': sparx5_switchdev.c:(.text+0xdb0): undefined reference to `br_vlan_enabled' riscv64-linux-ld: drivers/net/ethernet/microchip/sparx5/sparx5_switchdev.o: in function `.L283': sparx5_switchdev.c:(.text+0xee0): undefined reference to `br_vlan_enabled' Fixes: 3cfa11bac9bb ("net: sparx5: add the basic sparx5 driver") Signed-off-by: Randy Dunlap Reported-by: kernel test robot Cc: Horatiu Vultur Cc: Lars Povlsen Cc: Steen Hegelund Cc: UNGLinuxDriver@microchip.com Cc: Paolo Abeni Link: https://lore.kernel.org/r/20220330012025.29560-1-rdunlap@infradead.org Signed-off-by: Jakub Kicinski Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/microchip/sparx5/Kconfig | 1 + 1 file changed, 1 insertion(+) --- a/drivers/net/ethernet/microchip/sparx5/Kconfig +++ b/drivers/net/ethernet/microchip/sparx5/Kconfig @@ -5,6 +5,7 @@ config SPARX5_SWITCH depends on OF depends on ARCH_SPARX5 || COMPILE_TEST depends on PTP_1588_CLOCK_OPTIONAL + depends on BRIDGE || BRIDGE=n select PHYLINK select PHY_SPARX5_SERDES select RESET_CONTROLLER