diff options
author | Arnd Bergmann <arnd@arndb.de> | 2024-05-28 17:25:05 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-05-30 17:44:19 -0700 |
commit | 727c94c9539aa8865cdbf6a783da6a6585f1fec2 (patch) | |
tree | 3967d6d1812fefe50d0f4a020433a8ca5c366eaf /net/unix/af_unix.c | |
parent | 030fae30f0596ae1502cc7fc2557721617adaa7c (diff) |
ethernet: octeontx2: avoid linking objects into multiple modules
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
Change the way that octeontx2 ethernet is built by moving the common
file into a separate module with exported symbols instead.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://lore.kernel.org/r/20240528152527.2148092-1-arnd@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions