net: intel: Use *-y instead of *-objs in Makefile
Subsystems (6)
PATCH 1/1 net: intel: Use *-y instead of *-objs in Makefile
*-objs suffix is reserved rather for (user-space) host programs while usually *-y suffix is used for kernel drivers (although *-objs works for that purpose for now).
Let's correct the old usages of *-objs in Makefiles.
--- drivers/net/ethernet/intel/e1000/Makefile | 2 +- drivers/net/ethernet/intel/e1000e/Makefile | 7 +++---- drivers/net/ethernet/intel/i40e/Makefile | 2 +- drivers/net/ethernet/intel/iavf/Makefile | 5 ++--- drivers/net/ethernet/intel/igb/Makefile | 6 +++--- drivers/net/ethernet/intel/igbvf/Makefile | 6 +----- drivers/net/ethernet/intel/igc/Makefile | 4 ++-- drivers/net/ethernet/intel/ixgbe/Makefile | 8 ++++---- drivers/net/ethernet/intel/ixgbevf/Makefile | 6 +----- drivers/net/ethernet/intel/libeth/Makefile | 2 +- drivers/net/ethernet/intel/libie/Makefile | 2 +- 11 files changed, 20 insertions(+), 30 deletions(-)
drivers/net/ethernet/intel/e1000/Makefile +1 -1
@@ -7,4 +7,4 @@ obj-$(CONFIG_E1000) += e1000.o -e1000-objs := e1000_main.o e1000_hw.o e1000_ethtool.o e1000_param.o +e1000-y := e1000_main.o e1000_hw.o e1000_ethtool.o e1000_param.o
drivers/net/ethernet/intel/e1000e/Makefile +3 -4
@@ -10,7 +10,6 @@ subdir-ccflags-y += -I$(src) obj-$(CONFIG_E1000E) += e1000e.o -e1000e-objs := 82571.o ich8lan.o 80003es2lan.o \ - mac.o manage.o nvm.o phy.o \ - param.o ethtool.o netdev.o ptp.o - +e1000e-y := 82571.o ich8lan.o 80003es2lan.o \ + mac.o manage.o nvm.o phy.o \ + param.o ethtool.o netdev.o ptp.o
drivers/net/ethernet/intel/i40e/Makefile +1 -1
@@ -10,7 +10,7 @@ subdir-ccflags-y += -I$(src) obj-$(CONFIG_I40E) += i40e.o -i40e-objs := i40e_main.o \ +i40e-y := i40e_main.o \ i40e_ethtool.o \ i40e_adminq.o \ i40e_common.o \
drivers/net/ethernet/intel/iavf/Makefile +2 -3
@@ -11,6 +11,5 @@ subdir-ccflags-y += -I$(src) obj-$(CONFIG_IAVF) += iavf.o -iavf-objs := iavf_main.o iavf_ethtool.o iavf_virtchnl.o iavf_fdir.o \ - iavf_adv_rss.o \ - iavf_txrx.o iavf_common.o iavf_adminq.o +iavf-y := iavf_main.o iavf_ethtool.o iavf_virtchnl.o iavf_fdir.o \ + iavf_adv_rss.o iavf_txrx.o iavf_common.o iavf_adminq.o
drivers/net/ethernet/intel/igb/Makefile +3 -3
@@ -6,6 +6,6 @@ obj-$(CONFIG_IGB) += igb.o -igb-objs := igb_main.o igb_ethtool.o e1000_82575.o \ - e1000_mac.o e1000_nvm.o e1000_phy.o e1000_mbx.o \ - e1000_i210.o igb_ptp.o igb_hwmon.o +igb-y := igb_main.o igb_ethtool.o e1000_82575.o \ + e1000_mac.o e1000_nvm.o e1000_phy.o e1000_mbx.o \ + e1000_i210.o igb_ptp.o igb_hwmon.o
drivers/net/ethernet/intel/igbvf/Makefile +1 -5
@@ -6,8 +6,4 @@ obj-$(CONFIG_IGBVF) += igbvf.o -igbvf-objs := vf.o \ - mbx.o \ - ethtool.o \ - netdev.o - +igbvf-y := vf.o mbx.o ethtool.o netdev.o
drivers/net/ethernet/intel/igc/Makefile +2 -2
@@ -8,5 +8,5 @@ obj-$(CONFIG_IGC) += igc.o igc-$(CONFIG_IGC_LEDS) += igc_leds.o -igc-objs := igc_main.o igc_mac.o igc_i225.o igc_base.o igc_nvm.o igc_phy.o \ -igc_diag.o igc_ethtool.o igc_ptp.o igc_dump.o igc_tsn.o igc_xdp.o +igc-y := igc_main.o igc_mac.o igc_i225.o igc_base.o igc_nvm.o igc_phy.o \ + igc_diag.o igc_ethtool.o igc_ptp.o igc_dump.o igc_tsn.o igc_xdp.o
drivers/net/ethernet/intel/ixgbe/Makefile +4 -4
@@ -6,10 +6,10 @@ obj-$(CONFIG_IXGBE) += ixgbe.o -ixgbe-objs := ixgbe_main.o ixgbe_common.o ixgbe_ethtool.o \ - ixgbe_82599.o ixgbe_82598.o ixgbe_phy.o ixgbe_sriov.o \ - ixgbe_mbx.o ixgbe_x540.o ixgbe_x550.o ixgbe_lib.o ixgbe_ptp.o \ - ixgbe_xsk.o +ixgbe-y := ixgbe_main.o ixgbe_common.o ixgbe_ethtool.o \ + ixgbe_82599.o ixgbe_82598.o ixgbe_phy.o ixgbe_sriov.o \ + ixgbe_mbx.o ixgbe_x540.o ixgbe_x550.o ixgbe_lib.o ixgbe_ptp.o \ + ixgbe_xsk.o ixgbe-$(CONFIG_IXGBE_DCB) += ixgbe_dcb.o ixgbe_dcb_82598.o \ ixgbe_dcb_82599.o ixgbe_dcb_nl.o
drivers/net/ethernet/intel/ixgbevf/Makefile +1 -5
@@ -6,9 +6,5 @@ obj-$(CONFIG_IXGBEVF) += ixgbevf.o -ixgbevf-objs := vf.o \ - mbx.o \ - ethtool.o \ - ixgbevf_main.o +ixgbevf-y := vf.o mbx.o ethtool.o ixgbevf_main.o ixgbevf-$(CONFIG_IXGBEVF_IPSEC) += ipsec.o -
drivers/net/ethernet/intel/libeth/Makefile +1 -1
@@ -3,4 +3,4 @@ obj-$(CONFIG_LIBETH) += libeth.o -libeth-objs += rx.o +libeth-y := rx.o
drivers/net/ethernet/intel/libie/Makefile +1 -1
@@ -3,4 +3,4 @@ obj-$(CONFIG_LIBIE) += libie.o -libie-objs += rx.o +libie-y := rx.o
Signature · 1 line
2.43.0.rc1.1336.g36b5255a03ac
Alexander Lobakin
maintainerFrom: Andy Shevchenko <[email protected]>
Date: Wed, 8 May 2024 16:23:15 +0300
Quoted 5 lines
*-objs suffix is reserved rather for (user-space) host programs while usually *-y suffix is used for kernel drivers (although *-objs works for that purpose for now).
Let's correct the old usages of *-objs in Makefiles.
Wait, I was sure I've seen somewhere that -objs is more new and preferred over -y. See recent dimlib comment where Florian changed -y to -objs for example.
Any documentation reference that -objs is for userspace and we should clearly use -y?
Thanks,
Olek
Quoted 8 lines · Alexander Lobakin
Quoted 5 lines
*-objs suffix is reserved rather for (user-space) host programs while usually *-y suffix is used for kernel drivers (although *-objs works for that purpose for now).
Let's correct the old usages of *-objs in Makefiles.
Wait, I was sure I've seen somewhere that -objs is more new and preferred over -y.
Then you are mistaken.
Quoted 2 lines
See recent dimlib comment where Florian changed -y to -objs for example.
So does he :-)
Quoted 2 lines
Any documentation reference that -objs is for userspace and we should clearly use -y?
Sure. Luckily it's documented in Documentation/kbuild/makefiles.rst "Composite Host Programs" (mind the meaning of the word "host"!).
Signature · 2 lines
With Best Regards, Andy Shevchenko
Alexander Lobakin
maintainerFrom: Andy Shevchenko <[email protected]>
Date: Wed, 8 May 2024 17:25:31 +0300
Quoted 15 lines · Alexander Lobakin
Quoted 8 lines
Quoted 5 lines
*-objs suffix is reserved rather for (user-space) host programs while usually *-y suffix is used for kernel drivers (although *-objs works for that purpose for now).
Let's correct the old usages of *-objs in Makefiles.
Wait, I was sure I've seen somewhere that -objs is more new and preferred over -y.
Then you are mistaken.
Quoted 2 lines
See recent dimlib comment where Florian changed -y to -objs for example.
Quoted 7 lines
So does he :-)
Quoted 2 lines
Any documentation reference that -objs is for userspace and we should clearly use -y?
Sure. Luckily it's documented in
Documentation/kbuild/makefiles.rst"Composite Host Programs" (mind the meaning of the word "host"!).
Oh okay, I see. -objs is indeed only mentioned in the host chapter.
Thanks! Good to know.
Thanks,
Olek
From: Alexander Lobakin <[email protected]>
Date: Wed, 8 May 2024 16:39:21 +0200
Quoted 20 lines
From: Andy Shevchenko <[email protected]>
Date: Wed, 8 May 2024 17:25:31 +0300Quoted 17 lines · Alexander Lobakin
Quoted 8 lines
Quoted 5 lines
*-objs suffix is reserved rather for (user-space) host programs while usually *-y suffix is used for kernel drivers (although *-objs works for that purpose for now).
Let's correct the old usages of *-objs in Makefiles.
Wait, I was sure I've seen somewhere that -objs is more new and preferred over -y.
Then you are mistaken.
Quoted 2 lines
See recent dimlib comment where Florian changed -y to -objs for example.
So does he :-)
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
Any documentation reference that -objs is for userspace and we should clearly use -y?
Sure. Luckily it's documented in
Documentation/kbuild/makefiles.rst"Composite Host Programs" (mind the meaning of the word "host"!).Oh okay, I see.
-objsis indeed only mentioned in the host chapter.
Thanks,
Olek
Loktionov, Aleksandr
Reviewed-byQuoted 52 lines
-----Original Message-----
From: Intel-wired-lan <[email protected]> On Behalf Of Alexander Lobakin
Sent: Wednesday, May 8, 2024 4:40 PM
To: Andy Shevchenko <[email protected]>
Cc: Alexei Starovoitov <[email protected]>; Jesper Dangaard Brouer <[email protected]>; Daniel Borkmann <[email protected]>; [email protected]; Richard Cochran <[email protected]>; John Fastabend <[email protected]>; linux- [email protected]; Eric Dumazet <[email protected]>; intel- [email protected]; Jakub Kicinski <[email protected]>; Keller, Jacob E <[email protected]>; Nguyen, Anthony L <[email protected]>; [email protected]; Paolo Abeni <[email protected]>; David S. Miller <[email protected]>
Subject: Re: [Intel-wired-lan] [PATCH net-next v1 1/1] net: intel:
Use *-y instead of *-objs inMakefileFrom: Alexander Lobakin <[email protected]>
Date: Wed, 8 May 2024 16:39:21 +0200Quoted 4 lines
From: Andy Shevchenko <[email protected]>
Date: Wed, 8 May 2024 17:25:31 +0300Quoted 1 line
On Wed, May 08, 2024 at 03:35:26PM +0200, Alexander Lobakin
Quoted 1 line · wrote:
Quoted 1 line
Quoted 1 line
Quoted 1 line
*-objs suffix is reserved rather for (user-space) host
programs
Quoted 13 lines
Quoted 13 lines
Quoted 7 lines
Quoted 4 lines
while usually *-y suffix is used for kernel drivers (although *-objs works for that purpose for now).
Let's correct the old usages of *-objs in Makefiles.
Wait, I was sure I've seen somewhere that -objs is more new and preferred over -y.
Then you are mistaken.
Quoted 2 lines
See recent dimlib comment where Florian changed -y to -objs for example.
Quoted 6 lines
Quoted 6 lines
So does he :-)
Quoted 2 lines
Any documentation reference that -objs is for userspace and we should clearly use -y?
Sure. Luckily it's documented in
Documentation/kbuild/makefiles.rstQuoted 1 line
Quoted 1 line
"Composite Host Programs" (mind the meaning of the word
"host"!).
Quoted 1 line
Quoted 7 lines
Quoted 1 line
Oh okay, I see.
-objsis indeed only mentioned in the hostchapter.
Reviewed-by Alexander Lobakin <[email protected]>Thanks,
Olek
Jacob Keller
Reviewed-byQuoted 53 lines · Aleksandr
Quoted 53 lines
-----Original Message-----
From: Intel-wired-lan <[email protected]> On Behalf Of Alexander Lobakin
Sent: Wednesday, May 8, 2024 4:40 PM
To: Andy Shevchenko <[email protected]>
Cc: Alexei Starovoitov <[email protected]>; Jesper Dangaard Brouer <[email protected]>; Daniel Borkmann <[email protected]>; [email protected]; Richard Cochran <[email protected]>; John Fastabend <[email protected]>; linux- [email protected]; Eric Dumazet <[email protected]>; intel- [email protected]; Jakub Kicinski <[email protected]>; Keller, Jacob E <[email protected]>; Nguyen, Anthony L <[email protected]>; [email protected]; Paolo Abeni <[email protected]>; David S. Miller <[email protected]>
Subject: Re: [Intel-wired-lan] [PATCH net-next v1 1/1] net: intel:
Use *-y instead of *-objs inMakefileFrom: Alexander Lobakin <[email protected]>
Date: Wed, 8 May 2024 16:39:21 +0200Quoted 4 lines
From: Andy Shevchenko <[email protected]>
Date: Wed, 8 May 2024 17:25:31 +0300Quoted 1 line
On Wed, May 08, 2024 at 03:35:26PM +0200, Alexander Lobakin
Quoted 1 line · wrote:
Quoted 1 line
Quoted 1 line
Quoted 1 line
*-objs suffix is reserved rather for (user-space) host
programs
Quoted 13 lines
Quoted 13 lines
Quoted 7 lines
Quoted 4 lines
while usually *-y suffix is used for kernel drivers (although *-objs works for that purpose for now).
Let's correct the old usages of *-objs in Makefiles.
Wait, I was sure I've seen somewhere that -objs is more new and preferred over -y.
Then you are mistaken.
Quoted 2 lines
See recent dimlib comment where Florian changed -y to -objs for example.
Quoted 6 lines
Quoted 6 lines
So does he :-)
Quoted 2 lines
Any documentation reference that -objs is for userspace and we should clearly use -y?
Sure. Luckily it's documented in
Documentation/kbuild/makefiles.rstQuoted 1 line
Quoted 1 line
"Composite Host Programs" (mind the meaning of the word
"host"!).
Quoted 2 lines
Oh okay, I see.
-objsis indeed only mentioned in the host
Quoted 8 lines
Quoted 6 lines
chapter.
Reviewed-by Alexander Lobakin <[email protected]>Thanks,
OlekReviewed-by Aleksandr Loktionov <[email protected]>
Yea, reading the makefiles.rst again, it does seem that -objs only is intended for host programs. The fact that it works now is an accident. Further use of -y is necessary as we also use module-$(CONFIG_SYMBOL) to resolve cases where we only include the files if the configuration is set.
Makes sense to clean this up.
Quoted 42 lines · Jacob Keller
Quoted 32 lines · Aleksandr
Quoted 32 lines
From: Alexander Lobakin <[email protected]>
Date: Wed, 8 May 2024 16:39:21 +0200Quoted 3 lines
From: Andy Shevchenko <[email protected]>
Date: Wed, 8 May 2024 17:25:31 +0300Quoted 1 line
On Wed, May 08, 2024 at 03:35:26PM +0200, Alexander Lobakin
Quoted 1 line · wrote:
Quoted 1 line
Quoted 1 line
Quoted 1 line
*-objs suffix is reserved rather for (user-space) host
programs
Quoted 13 lines
Quoted 13 lines
Quoted 7 lines
Quoted 4 lines
while usually *-y suffix is used for kernel drivers (although *-objs works for that purpose for now).
Let's correct the old usages of *-objs in Makefiles.
Wait, I was sure I've seen somewhere that -objs is more new and preferred over -y.
Then you are mistaken.
Quoted 2 lines
See recent dimlib comment where Florian changed -y to -objs for example.
Quoted 6 lines
Quoted 6 lines
So does he :-)
Quoted 2 lines
Any documentation reference that -objs is for userspace and we should clearly use -y?
Sure. Luckily it's documented in
Documentation/kbuild/makefiles.rstQuoted 1 line
Quoted 1 line
"Composite Host Programs" (mind the meaning of the word
"host"!).
Quoted 2 lines
Oh okay, I see.
-objsis indeed only mentioned in the hostQuoted 8 lines
Quoted 6 lines
chapter.
Reviewed-by Alexander Lobakin <[email protected]>Thanks,
OlekReviewed-by Aleksandr Loktionov <[email protected]>
Quoted 8 lines
Yea, reading the
makefiles.rstagain, it does seem that -objs only is intended for host programs. The fact that it works now is an accident. Further use of -y is necessary as we also use module-$(CONFIG_SYMBOL) to resolve cases where we only include the files if the configuration is set.Makes sense to clean this up.
Reviewed-by Jacob Keller <[email protected]>
Oops, just sent a v2 to address LKP findings. Can you look at it instead?
Signature · 2 lines
With Best Regards, Andy Shevchenko
kernel test robot
build botkernel test robot noticed the following build errors:
Hi Andy,
kernel test robot noticed the following build errors:
[auto build test ERROR on net-next/main]
url: https://github.com/intel-lab-lkp/linux/commits/Andy-Shevchenko/net-intel-Use-y-instead-of-objs-in-Makefile/20240508-212446 base: net-next/main patch link: https://lore.kernel.org/r/20240508132315.1121086-1-andriy.shevchenko%40linux.intel.com patch subject: [PATCH net-next v1 1/1] net: intel: Use *-y instead of *-objs in Makefile config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20240509/[email protected]/config) compiler: loongarch64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240509/[email protected]/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>, old ones prefixed by <<):
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/interconnect/imx/imx8mn-interconnect.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/interconnect/imx/imx8mp-interconnect.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/hte/hte-tegra194-test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/vdpa/vdpa.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/vdpa/ifcvf/ifcvf.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/parport/parport.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/nvdimm/libnvdimm.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/nvdimm/nd_pmem.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/nvdimm/nd_btt.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/nvdimm/of_pmem.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/nvdimm/nd_virtio.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/mtd/parsers/brcm_u-boot.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/mtd/parsers/tplink_safeloader.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/mtd/chips/cfi_util.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/mtd/chips/cfi_cmdset_0020.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/mtd/maps/map_funcs.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/spmi/hisi-spmi-controller.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/spmi/spmi-pmic-arb.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/uio/uio.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/uio/uio_cif.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/uio/uio_aec.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/uio/uio_netx.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/uio/uio_pruss.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/uio/uio_mf624.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/pcmcia/pcmcia_rsrc.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/pcmcia/yenta_socket.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/pcmcia/i82092.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/hwmon/corsair-cpro.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/hwmon/mr75203.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/vhost/vringh.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/greybus/greybus.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/greybus/gb-es2.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/rpmsg/rpmsg_char.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/iio/adc/ingenic-adc.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/iio/adc/xilinx-ams.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/iio/buffer/kfifo_buf.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-core.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-hub.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-aspeed.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-gpio.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-master-ast-cf.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fsi/fsi-scom.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/siox/siox-bus-gpio.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/counter/ftm-quaddec.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/core/snd-pcm-dmaengine.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/core/sound_kunit.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/drivers/snd-pcmtest.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/pci/hda/snd-hda-cirrus-scodec-test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/soc-topology-test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/codecs/snd-soc-ab8500-codec.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/codecs/snd-soc-sigmadsp.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/codecs/snd-soc-wm-adsp.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/fsl/imx-pcm-dma.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/mxs/snd-soc-mxs-pcm.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/qcom/snd-soc-qcom-common.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/qcom/snd-soc-qcom-sdw.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/qcom/qdsp6/snd-q6dsp-common.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/sof/intel/snd-sof-intel-atom.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/sof/intel/snd-sof-acpi-intel-byt.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/sof/intel/snd-sof-acpi-intel-bdw.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/sof/intel/snd-sof-intel-hda-common.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/sof/intel/snd-sof-intel-hda-mlink.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/sof/intel/snd-sof-intel-hda.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/sof/intel/snd-sof-pci-intel-tng.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/sof/intel/snd-sof-pci-intel-skl.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/sof/intel/snd-sof-pci-intel-apl.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/sof/intel/snd-sof-pci-intel-cnl.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/sof/intel/snd-sof-pci-intel-icl.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/sof/intel/snd-sof-pci-intel-tgl.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/sof/intel/snd-sof-pci-intel-mtl.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/sof/intel/snd-sof-pci-intel-lnl.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/sof/imx/snd-sof-imx8.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/sof/imx/snd-sof-imx8m.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/sof/imx/snd-sof-imx8ulp.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/sof/imx/imx-common.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/sof/mediatek/mtk-adsp-common.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/sof/mediatek/mt8195/snd-sof-mt8195.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/sof/mediatek/mt8186/snd-sof-mt8186.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/sof/snd-sof-utils.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/sof/snd-sof-acpi.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/sof/snd-sof-of.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/sof/snd-sof-pci.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/xilinx/snd-soc-xlnx-i2s.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/xilinx/snd-soc-xlnx-formatter-pcm.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/ac97_bus.o
WARNING: modpost: missing MODULE_DESCRIPTION() in samples/vfio-mdev/mtty.o
WARNING: modpost: missing MODULE_DESCRIPTION() in samples/vfio-mdev/mdpy.o
WARNING: modpost: missing MODULE_DESCRIPTION() in samples/vfio-mdev/mdpy-fb.o
WARNING: modpost: missing MODULE_DESCRIPTION() in samples/vfio-mdev/mbochs.o
WARNING: modpost: missing MODULE_DESCRIPTION() in samples/configfs/configfs_sample.o
WARNING: modpost: missing MODULE_DESCRIPTION() in samples/kfifo/bytestream-example.o
WARNING: modpost: missing MODULE_DESCRIPTION() in samples/kfifo/dma-example.o
WARNING: modpost: missing MODULE_DESCRIPTION() in samples/kfifo/inttype-example.o
WARNING: modpost: missing MODULE_DESCRIPTION() in samples/kfifo/record-example.o
WARNING: modpost: missing MODULE_DESCRIPTION() in samples/kobject/kobject-example.o
WARNING: modpost: missing MODULE_DESCRIPTION() in samples/kobject/kset-example.o
WARNING: modpost: missing MODULE_DESCRIPTION() in samples/kprobes/kprobe_example.o
WARNING: modpost: missing MODULE_DESCRIPTION() in samples/kprobes/kretprobe_example.o
WARNING: modpost: missing MODULE_DESCRIPTION() in samples/kmemleak/kmemleak-test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in samples/fprobe/fprobe_example.o
>> ERROR: modpost: "igc_led_free" [drivers/net/ethernet/intel/igc/igc.ko] undefined! >> ERROR: modpost: "igc_led_setup" [drivers/net/ethernet/intel/igc/igc.ko] undefined!
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Quoted 14 lines · kernel test robot
Hi Andy,
kernel test robot noticed the following build errors:
[auto build test ERROR on net-next/main]
url: https://github.com/intel-lab-lkp/linux/commits/Andy-Shevchenko/net-intel-Use-y-instead-of-objs-in-Makefile/20240508-212446 base: net-next/main patch link: https://lore.kernel.org/r/20240508132315.1121086-1-andriy.shevchenko%40linux.intel.com patch subject: [PATCH net-next v1 1/1] net: intel: Use *-y instead of *-objs in Makefile config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20240509/[email protected]/config) compiler: loongarch64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240509/[email protected]/reproduce)
Quoted 9 lines
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/All errors (new ones prefixed by >>, old ones prefixed by <<):
Quoted 2 lines
Quoted 2 lines
ERROR: modpost: "
igc_led_free" [drivers/net/ethernet/intel/igc/igc.ko] undefined!
ERROR: modpost: "igc_led_setup" [drivers/net/ethernet/intel/igc/igc.ko] undefined!
Sure, misplaced line. I'll fix this in the next version.
Signature · 2 lines
With Best Regards, Andy Shevchenko