lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <866cb878-47fa-4bb9-ba93-6a0c0e70a4f7@app.fastmail.com>
Date: Thu, 30 May 2024 20:52:32 +0200
From: "Arnd Bergmann" <arnd@...db.de>
To: "Jacob Keller" <jacob.e.keller@...el.com>,
 "Arnd Bergmann" <arnd@...nel.org>, "Sunil Goutham" <sgoutham@...vell.com>,
 "Geetha sowjanya" <gakula@...vell.com>,
 "Subbaraya Sundeep Bhatta" <sbhatta@...vell.com>,
 hariprasad <hkelam@...vell.com>
Cc: "David S . Miller" <davem@...emloft.net>,
 "Eric Dumazet" <edumazet@...gle.com>, "Jakub Kicinski" <kuba@...nel.org>,
 "Paolo Abeni" <pabeni@...hat.com>,
 "Richard Cochran" <richardcochran@...il.com>,
 "Suman Ghosh" <sumang@...vell.com>, "Simon Horman" <horms@...nel.org>,
 "Anthony L Nguyen" <anthony.l.nguyen@...el.com>,
 "Jiri Pirko" <jiri@...nulli.us>,
 "Mateusz Polchlopek" <mateusz.polchlopek@...el.com>,
 Netdev <netdev@...r.kernel.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ethernet: octeontx2: avoid linking objects into multiple modules

On Thu, May 30, 2024, at 19:54, Jacob Keller wrote:
> On 5/28/2024 8:25 AM, Arnd Bergmann wrote:
>> From: Arnd Bergmann <arnd@...db.de>
>> 
>> 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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ