Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp863259rdg; Fri, 13 Oct 2023 03:39:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEpzZK++ZYZhwrIeuEZ8fxQnCT5XNbbmjg+8GDtdGAIfsurP6h+Ixcx+6D3L4T1mz9nTVsU X-Received: by 2002:a05:6808:144b:b0:3ae:5e0e:1669 with SMTP id x11-20020a056808144b00b003ae5e0e1669mr33576906oiv.42.1697193541427; Fri, 13 Oct 2023 03:39:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697193541; cv=none; d=google.com; s=arc-20160816; b=gpXyppXc92ur3WmD0thGoNkGmc1LiNStucrEkJjcSLvqhj+VLy8+3RzIVnOF+FE4mo 4U6lnGbTike/JmOss+uTX4cIUTkI4NBTb2r9OtUbVHFgMaurftdxUrjaA+vjTpzvmqcG iQ0YKXTTEL8+Ur+UtGKWPRieUJfjiSNCrdjQURNEBiFvop+vvIrtjSM2KqWMknknIb3A GQQ9j8zqySskxuHUdh1FgLsDJDmoUtev8crMvDTMZOC3Gigd084bAy32pJgLqAl5EJk+ 0aAv0NZM0cTrg4v1tBtr7hA06TKtmWAauL8GPU8UXHV9QrTA0ieengJqN8kVEZDWTUG9 S+iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=uQONiwQaIF/sUvhTpH5QtV/9W9EUUvHLTz8ZcxZqN78=; fh=gxeFq4pdoJzRxdYHVBfescimBr5sz6Vl4WgNPCxMi8E=; b=mD7P0INdq0Oy/AAgzRG2Mp8dGKuLOkupzCtYQfwlZ4TShSygeUZEdCASTZATU2v/5e Bm/KksIC0K9Wn6LKpsL0QoVtM7BlN0fxeRjeXe14W6zsiHAxhKttihn1YWb6vNgLJOFc FUaSByONB2js2qEfrj1JLNXPeH3IuQ0iO5wQ5mBOOjd/amraM/BMbksaUuCN0COaaETQ v3aSHAQtFl6q+S5iInhJLeuAfz5KDmY3ocqjQiLQUW3EcIWXaXllRf50NLkvtX+P4gto Vq3oE+7Yy6w4XOc0fGQMndD9blufhqwhfyXp8g4LrdPaO8iJskqUElws3dQ7fbRsyadj N4Ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=PzdqkqKh; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=FMXHgJoy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id v135-20020a63618d000000b005aa589ef664si1411945pgb.557.2023.10.13.03.39.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 03:39:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=PzdqkqKh; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=FMXHgJoy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 0B44083122CE; Fri, 13 Oct 2023 03:38:58 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230103AbjJMKit (ORCPT + 99 others); Fri, 13 Oct 2023 06:38:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230120AbjJMKis (ORCPT ); Fri, 13 Oct 2023 06:38:48 -0400 Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B22AC0; Fri, 13 Oct 2023 03:38:46 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 50A7E3200A86; Fri, 13 Oct 2023 06:38:39 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute5.internal (MEProxy); Fri, 13 Oct 2023 06:38:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1697193518; x=1697279918; bh=uQ ONiwQaIF/sUvhTpH5QtV/9W9EUUvHLTz8ZcxZqN78=; b=PzdqkqKheJs2lGFvXF 92FwJxgJcR25WRALDHRIqO2qOIcndbt9h94qL92ewEeTVvx97qcCbXouIaO2BIvl bCKvlk9G0QbzCdMM+QFbTMrZojNd5+w244We7mYkSlGb1CEmarRRuGUoFQJzoz+A ue+Mj6YK3fLgbYdbmg6j/MyIneWYG+YVd6z/nHe6T441KKDd4TEBws6804sr9ueD p5P3PjIik4EYhzSdcLVNgAnWenXDMjjaqvRPV4zTh7BhcpqJrHUIWF3wjkt8Oo9U 4GYTVD7DbA84raZB6C2jPWJPDoWzxW90/ZPL7on7VXP/Ld8nFDQdNaphgS/oVUO8 FPHA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1697193518; x=1697279918; bh=uQONiwQaIF/sU vhTpH5QtV/9W9EUUvHLTz8ZcxZqN78=; b=FMXHgJoyJ2eE3dgfDYk4A0cdOf640 HhqDawZtyhTe8sjz3+TYj1vZOpjMCRWqERcixTXIPTVLpDgS/hnPepA6hoegSu2s UZabIbKe6SAIpR33StB1F/zMK8rCE6qlG3I8j0p2g3DO9mtJJu6UapGR5Uv4WeZI 0770ipQDCfFkyhnqRHIN1pkIdFM/p1GbHmx67iYFwft2gpcAoRIZtqGPi++soWD/ 6q2YntB+8gSDXkMNQ6aWX6TQl4pP92Nm+KPndKKdaZGYyYRvnMl27JoinpF3h+2+ D7K7TreWvJTFbGDQRDDQxoAltoLzm+fqXf5n6497fzXTRppysOoQyiY/w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrieefgddtkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdetrhhn ugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrghtth gvrhhnpeevhfffledtgeehfeffhfdtgedvheejtdfgkeeuvefgudffteettdekkeeufeeh udenucffohhmrghinhepkhgvrhhnvghlrdhorhhgnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomheprghrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id B992EB6008D; Fri, 13 Oct 2023 06:38:37 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1019-ged83ad8595-fm-20231002.001-ged83ad85 MIME-Version: 1.0 Message-Id: <4a53722d-e31d-4598-a4a9-cf374c84bc44@app.fastmail.com> In-Reply-To: <20231013100549.3198564-1-danishanwar@ti.com> References: <20231013100549.3198564-1-danishanwar@ti.com> Date: Fri, 13 Oct 2023 12:38:17 +0200 From: "Arnd Bergmann" To: "MD Danish Anwar" , "Andrew Lunn" , "Wolfram Sang" , "Simon Horman" , "Roger Quadros" , "Vignesh Raghavendra" , "Paolo Abeni" , "Jakub Kicinski" , "Eric Dumazet" , "David S . Miller" Cc: linux-kernel@vger.kernel.org, Netdev , srk@ti.com, r-gunasekaran@ti.com, "Roger Quadros" Subject: Re: [PATCH net] net: ethernet: ti: Fix mixed module-builtin object Content-Type: text/plain 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.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 (lipwig.vger.email [0.0.0.0]); Fri, 13 Oct 2023 03:38:58 -0700 (PDT) On Fri, Oct 13, 2023, at 12:05, MD Danish Anwar wrote: > With CONFIG_TI_K3_AM65_CPSW_NUSS=y and CONFIG_TI_ICSSG_PRUETH=m, > k3-cppi-desc-pool.o is linked to a module and also to vmlinux even though > the expected CFLAGS are different between builtins and modules. > > The build system is complaining about the following: > > k3-cppi-desc-pool.o is added to multiple modules: icssg-prueth > ti-am65-cpsw-nuss > > Introduce the new module, k3-cppi-desc-pool, to provide the common > functions to ti-am65-cpsw-nuss and icssg-prueth. > > Signed-off-by: MD Danish Anwar I submitted a different patch for this a while ago: https://lore.kernel.org/lkml/20230612124024.520720-3-arnd@kernel.org/ I think I never sent a v2 of that, but I still have a working version in my local tree. I've replaced my version with yours for testing now, to see if you still need something beyond that. Arnd