Received: by 2002:ab2:7853:0:b0:1fa:5c73:8e2d with SMTP id m19csp57165lqp; Thu, 30 May 2024 11:53:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW+SbXVoWFb9wsPH1+T0UWBPfJQkUek6CfFk1xBpd3x3Q2exzVrL+F2KSnD/XUMmlVwVZxy/C4fgFyui/EXLXTPU6pul/FpCL9bh3DjRg== X-Google-Smtp-Source: AGHT+IHVliO5w5eVtUcAj7XS/8G++KnEbkT7n7BSoDi02+48SNweW3Pw+XBMDXGKEefuLtHAQFB9 X-Received: by 2002:a50:8e15:0:b0:578:5771:dc2c with SMTP id 4fb4d7f45d1cf-57a177cf233mr2123342a12.3.1717095185578; Thu, 30 May 2024 11:53:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717095185; cv=pass; d=google.com; s=arc-20160816; b=tk1LgRyFsWj5inNyNyeR7Z9tu+JixtI6tUj6zupRntHOsXOQnUVzigVnLHKVEB2mi9 wms8UQpfAiTNrJQ2rDX7UPX5xkuVp+27WRLkwHG+zcHiogXxL44xqhLhIo2cq1/zKjPg wUXvWJnrmwsQBPoC8UrTSexwmDQVXR503sslDxmu3xgpBmNgy7nREBfmxORaapYDUSpa DbW7UgR+i0Zq8fMDNTw6kjqf786vR8HpsOhHrwONoAeHaKIa+w7H6s3COBkuSLcvtkdE AqlwdNho6hZ0NR+m+wWgHOFYhgLYL2mUrRyuY1MVEXurWi9trpHhKTQiIb/S+2SBYE5l 0Uww== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:cc:to:from:date:references:in-reply-to:message-id :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:feedback-id:dkim-signature:dkim-signature; bh=ih0LJP0eTWo3jPdc63FceSZpgfHI9w8pQsCt99us9WY=; fh=0Al198JKdLGlbYMXAjjRj3T/jQYoNGj9oBnpxCTMUOU=; b=B6CVxRBuMJ6+/SfIPpgVcwulUnLVV5SBjZHvCSoBk3YqCPX+BQd6+ypw2B2uR5yVPN BwBw9fbAWIztwU5g5XaeXuSBptwIJPn6l74Hhg96tPqMsrcyLjh0hUcyqmBHEVglGtEy MftSdbhWeMxfZ2Qn+UMVypwZobkqm212NUbSpHydjVfpz+zNqts+/PEj5ce/w3i4Wpak 7VE5fGiut4AjFCzwY3v27Q9+cYwWvua0kBx9Gse3sBD6KHMV3l966gdAz0GiQd5qWLfw jQEo4jCBVinJhvRzMASUbkk9yjjjCD31pCpVGRMFj72K/3Tw5XpL4uxHr5xO4STrFBWE 6xGQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm3 header.b=saj2RiVv; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=hM8qkLOr; arc=pass (i=1 spf=pass spfdomain=arndb.de dkim=pass dkdomain=arndb.de dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=arndb.de); spf=pass (google.com: domain of linux-kernel+bounces-195802-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195802-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57a31c62699si99407a12.325.2024.05.30.11.53.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 11:53:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-195802-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm3 header.b=saj2RiVv; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=hM8qkLOr; arc=pass (i=1 spf=pass spfdomain=arndb.de dkim=pass dkdomain=arndb.de dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=arndb.de); spf=pass (google.com: domain of linux-kernel+bounces-195802-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195802-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 43B051F21BA1 for ; Thu, 30 May 2024 18:53:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5651551C4D; Thu, 30 May 2024 18:52:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b="saj2RiVv"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="hM8qkLOr" Received: from wfout6-smtp.messagingengine.com (wfout6-smtp.messagingengine.com [64.147.123.149]) (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 D1CAC51031; Thu, 30 May 2024 18:52:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.123.149 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717095178; cv=none; b=E50zeI/Ph+HXv2XsaCPFIiLG5HlPgrHKcJcZUxwIeRxa8qQ3IOskgdGYlWtd9N0FE83Gmt0rJZeuBGaB/5IpOl9Yj5GbFNY/Oi3YrFNZM6gLlNkijPSXGYn5kP+vZGAcMjm2ThMdPw1rOR9fTifbLFPhDJPK1UlZgMBAYwgzuzA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717095178; c=relaxed/simple; bh=n5yEaDAh85vw8ZKD60Eh+Rvf0Ok6TETJpl9orVLc7xQ=; h=MIME-Version:Message-Id:In-Reply-To:References:Date:From:To:Cc: Subject:Content-Type; b=GaciaaSxXt9TjpZEi/+XHiUTJcnPazcRzu+NsspgEwLIy08zV7Via/OIAJofeWz3kGKrOXoq0G9iOnaWzl9Yv8xcVXSuR2A8NJdzZmDaatLoecnBEUcuLl8uuN80Sg1JFMwl+tbJKsaCo/U2bCmQH+Lm7R2n8p4lHm/j42TM3c8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de; spf=pass smtp.mailfrom=arndb.de; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b=saj2RiVv; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=hM8qkLOr; arc=none smtp.client-ip=64.147.123.149 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arndb.de Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfout.west.internal (Postfix) with ESMTP id D7C3A1C000F7; Thu, 30 May 2024 14:52:54 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute5.internal (MEProxy); Thu, 30 May 2024 14:52:56 -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:subject :subject:to:to; s=fm3; t=1717095174; x=1717181574; bh=ih0LJP0eTW o3jPdc63FceSZpgfHI9w8pQsCt99us9WY=; b=saj2RiVvQLK23cP1CAeUgPulpt wnSKXsJZrICOjtdskVelrPr6Q66yxii2/X5FOzsExYwxTvQVQLpRlVQoPho073Ou agzJcRZ+pjMhkC/tJJYwD4DhhTvtofUyD/S28oJ3ubfAZSmqz33iN7z7HtChRNJK YXOb4x2SvWuMS2JFHEmpYS2YgQVELwRvnQPxXGY0AkwMlz2cFSqcKjxsnlVncu3N yAwk+7OFa0KBQj+oiL3oM2s8VpD6j/0ysycMGRJ6TpC7R12X0jPNQGaeqdEKFIAJ o5RhuocgUU2s1ayH5bMGx6HfJU1Xl7inyiPf56FC8hn/0WlOFvHBjqrOSb0w== 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:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1717095174; x=1717181574; bh=ih0LJP0eTWo3jPdc63FceSZpgfHI 9w8pQsCt99us9WY=; b=hM8qkLOr7CoqZj7EoF0jloLefsrz6WHOXDAHegooitKW 9vwmO9TUpVpXlgkcXGAAfuBP9NyDthCVXz0hfj1v5A7N5Fd9dd6iRnatacy+1oB8 nOPLSi7GcvUOC9cak8VMjJ5jjV9g3rQqUK1ZWsw6Ezlo2w250CkIsjZIc98nbM0I 6S2krBllJZdYLCh8Muxl3LZdpwLdy0xzNs2LzskVwd+8ehygZGgmwyK0xnjPwaWv 1EfgJdebxRP4r3PNCCJrHLyJGmP7gJmbMzLpNjNsI/eix2WWWp467+SSCrBx9058 ru1L1tJ2R+BWgl1Fsi57nF1qrH1d8Ba5UwevnHL1OQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdekgedguddviecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdet rhhnugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrg htthgvrhhnpeffheeugeetiefhgeethfejgfdtuefggeejleehjeeutefhfeeggefhkedt keetffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grrhhnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 51CDEB6008D; Thu, 30 May 2024 14:52:53 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-491-g033e30d24-fm-20240520.001-g033e30d2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <866cb878-47fa-4bb9-ba93-6a0c0e70a4f7@app.fastmail.com> In-Reply-To: <2f1603fa-d03c-412c-895c-bc4afa06834b@intel.com> References: <20240528152527.2148092-1-arnd@kernel.org> <2f1603fa-d03c-412c-895c-bc4afa06834b@intel.com> Date: Thu, 30 May 2024 20:52:32 +0200 From: "Arnd Bergmann" To: "Jacob Keller" , "Arnd Bergmann" , "Sunil Goutham" , "Geetha sowjanya" , "Subbaraya Sundeep Bhatta" , hariprasad Cc: "David S . Miller" , "Eric Dumazet" , "Jakub Kicinski" , "Paolo Abeni" , "Richard Cochran" , "Suman Ghosh" , "Simon Horman" , "Anthony L Nguyen" , "Jiri Pirko" , "Mateusz Polchlopek" , Netdev , linux-kernel@vger.kernel.org Subject: Re: [PATCH] ethernet: octeontx2: avoid linking objects into multiple modules Content-Type: text/plain On Thu, May 30, 2024, at 19:54, Jacob Keller wrote: > On 5/28/2024 8:25 AM, Arnd Bergmann wrote: >> From: Arnd Bergmann >> >> Each object file contains information about which module it gets linked >> into, so linking the same file into multiple modules now causes a warning: >> >> scripts/Makefile.build:254: drivers/net/ethernet/marvell/octeontx2/nic/Makefile: otx2_devlink.o is added to multiple modules: rvu_nicpf rvu_nicvf >> > > When I tried to build, I don't see any warnings produced on the current > net-next with W=1. Is this something new and not yet in net-next tree? > If not, how do I enable this warning in my local build? The warning has been around with W=1 for over a year now, it still shows up here: make ARCH=arm64 allmodconfig drivers/net/ethernet/marvell/octeontx2/ -skj20 scripts/Makefile.build:236: drivers/net/ethernet/marvell/octeontx2/nic/Makefile: otx2_devlink.o is added to multiple modules: rvu_nicpf rvu_nicvf scripts/Makefile.build:236: drivers/net/ethernet/marvell/octeontx2/nic/Makefile: otx2_dcbnl.o is added to multiple modules: rvu_nicpf rvu_nicvf Arnd