MIPS: Fix build error ERROR: modpost:
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 16 repliesIn review
- v12 patches 4 repliesSuperseded
Changes in v2 from the cover letter
* Pick Sevrgio's Acked-by tag to Patch 1/3;
* Rewrite prefix;
* Use EXPORT_SYMBOL_GPL();
* Add haojun's patch into my thread and rewrite commit message.(Patch 3/3)
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | PCI: mt7621: Add MODULE_* macros to MT7621 PCIe host controller driverdrivers/ | +2 | 0 replies | |
| 2/3 | MIPS: cm/cpc: export some missing symbols to be able to use them from driver codearch/ arch/ | +6 | 16 replies | |
| 3/3 | MIPS: traps: export a missing symbols to be able to use it from driver codearch/ | +1 | 0 replies |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Sergio Paracuellos |
|---|---|
| 1/3 | A-b |
| 2/3 | R-b |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] MIPS: Fix build error ERROR: modpost:
v2:
* Pick Sevrgio's Acked-by tag to Patch 1/3;
* Rewrite prefix;
* Use EXPORT_SYMBOL_GPL();
* Add haojun's patch into my thread and rewrite commit message.(Patch 3/3)
note: These errors are generated in the *linux-next.git*.
https://lore.kernel.org/linux-mips/[email protected]/T/#t
v1:
Since commit 2bdd5238e756 ("PCI: mt7621: Add MediaTek MT7621 PCIe host controller driver") the MT7621 PCIe host controller driver is built as a module but no MODULE_*() attributes were specified, causing a build error due to missing license information. At the same time, modpost complains once these drivers become modules.
ERROR: modpost: missing MODULE_LICENSE() in drivers/pci/controller/pcie-mt7621.o
ERROR: modpost: "mips_cm_unlock_other" [drivers/pci/controller/pcie-mt7621.ko] undefined!
ERROR: modpost: "mips_cpc_base" [drivers/pci/controller/pcie-mt7621.ko] undefined!
ERROR: modpost: "mips_cm_lock_other" [drivers/pci/controller/pcie-mt7621.ko] undefined!
ERROR: modpost: "mips_cm_is64" [drivers/pci/controller/pcie-mt7621.ko] undefined!
ERROR: modpost: "mips_gcr_base" [drivers/pci/controller/pcie-mt7621.ko] undefined!
Let's just fix them.
Wang Haojun (1):
MIPS: Export board_be_handler to modules
Yanteng Si (2):
MIPS: mt7621: Add MODULE_* macros to MT7621 PCIe host controller
driver
MIPS: Export mips_cm/cpc/gcr_* to modules
arch/mips/kernel/mips-cm.c | 5 +++++ arch/mips/kernel/mips-cpc.c | 1 + arch/mips/kernel/traps.c | 1 + drivers/pci/controller/pcie-mt7621.c | 2 ++ 4 files changed, 9 insertions(+)
Signature · 1 line
2.27.0