Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2197776pxb; Sat, 7 Nov 2020 12:51:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJzynEjQ+17IXqMCum94IjyXw8fW0w8u9a+ktC/iz5T5vqrQ0jVxaKrrytVVIsFRq0EexKaK X-Received: by 2002:a17:906:31c1:: with SMTP id f1mr8455550ejf.253.1604782286358; Sat, 07 Nov 2020 12:51:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604782286; cv=none; d=google.com; s=arc-20160816; b=DSuUdEsk8pxKhv/Rd/aQ5r+IEZ0YwhQq9BePMiFiU+OSqCP+tkOYXVHUhdeh1n5Ltz Qk/TmrlFjgyNYjw/p9Q8Lb8HCvk6aUx4VxYj5y3TRvZEZ+gupcWpyHouz90JO5c5IEz/ EslxkbULx254iqqQsxtHBSC3nL/yVEGrZincU65poiZRPGE+xCT8FBeCDX8/eVsZa+Nd oqx7D1No4az+RhX3LPbmWZe78Sp5D1hyVPDReTU5FGVxDAoqNaIvG74dPcwVujrGcMME RVXcfnVsXDWmDq/KgCB41ObUVn8PU4mE/jZ/4IqoEvZxncbO9TPJXY+X0lV1lN2XPYBm +RTw== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=SJ9OORDx/tntxxTNhMRzlxzvVfRCyCtnyOSlIAm03c4=; b=Dr/CiortQJQed7h5nbTCUqDGZGZz0KFeCmZBQKY3rEhZmABYD+3wHhX6ji7JXli6jO KBvOpka7fR/w2Th88niYzornQZJqwhpI6NDq3+38mWF3VXRBBs7R2or0Tl6+xIeYGyAl 7hKj3nrn4hHU4Yj0My5rkqtsoYsK7i2Rqjs+YC1NKZdG2TBiwBrb/ve+ezKdk/3wu7w7 vG9SSnmCGBUorBdwApgKB6V2EZdXTIngFvjEkS4Zh+Te8yd2J1oJdmlGZuY+t9sHUfGy 07SMCuwi6spebpmkKhT2a6culPNZF7aV+BfCnuKbhwIhLtrDyjWOtcrJ67EA/hkrcTFg 95jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Zpt7WHoc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p7si3918099ejg.491.2020.11.07.12.50.26; Sat, 07 Nov 2020 12:51:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Zpt7WHoc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728506AbgKGUpt (ORCPT + 99 others); Sat, 7 Nov 2020 15:45:49 -0500 Received: from mail.kernel.org ([198.145.29.99]:56004 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725836AbgKGUps (ORCPT ); Sat, 7 Nov 2020 15:45:48 -0500 Received: from kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com (unknown [163.114.132.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 139D7206C1; Sat, 7 Nov 2020 20:45:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604781948; bh=tuaYZkpNhucN3oE13/D9qcN/F+U1WHwW0VAxmnvvom8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Zpt7WHocUhEqS4HJzao0wRCK1JRjmZQmcrFz1CYoj+ZBzoBw5gJOYzXJEd5xrjVGN AV7ozTPckmOae9zjNcPvVGU+PIxB+89RWr0bAyKEnpkMCjyw1IpaPJ9dX1Pqh0vGON 26Uo5xeD/WC3zCxGsrs9uB89Djp72XaZGnsORmfY= Date: Sat, 7 Nov 2020 12:45:47 -0800 From: Jakub Kicinski To: Randy Dunlap Cc: Vadym Kochan , Volodymyr Mytnyk , Andrii Savka , "David S. Miller" , Oleksandr Mazur , Serhiy Boiko , Serhiy Pshyk , Taras Chornyi , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Mickey Rachamim Subject: Re: [PATCH net] net: marvell: prestera: fix compilation with CONFIG_BRIDGE=m Message-ID: <20201107124547.0b22d635@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <4d67e1d4-4f5c-a0c1-ce87-42e141215aa1@infradead.org> References: <20201106161128.24069-1-vadym.kochan@plvision.eu> <4d67e1d4-4f5c-a0c1-ce87-42e141215aa1@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 6 Nov 2020 12:13:12 -0800 Randy Dunlap wrote: > On 11/6/20 8:11 AM, Vadym Kochan wrote: > > With CONFIG_BRIDGE=m the compilation fails: > > > > ld: drivers/net/ethernet/marvell/prestera/prestera_switchdev.o: in function `prestera_bridge_port_event': > > prestera_switchdev.c:(.text+0x2ebd): undefined reference to `br_vlan_enabled' > > > > in case the driver is statically enabled. > > > > Fix it by adding 'BRIDGE || BRIDGE=n' dependency. > > > > Fixes: e1189d9a5fbe ("net: marvell: prestera: Add Switchdev driver implementation") > > Reported-by: Randy Dunlap > > Signed-off-by: Vadym Kochan > > Acked-by: Randy Dunlap # build-tested Applied, thanks!