Greetings, I'm working on a driver intended to be sent to staging soon and I've encountered two issue I'd like to get help with. the driver's hierarchy is one module file shared by other two modules. when I try to select both all three drivers as modules, I the following these two errors: ~/workspace/linux-staging.git$ make modules -j 9 scripts/kconfig/conf --syncconfig Kconfig DESCEND objtool CALL scripts/atomic/check-atomics.sh CALL scripts/checksyscalls.sh CHK include/generated/compile.h CHK kernel/kheaders_data.tar.xz GEN kernel/kheaders_data.tar.xz CC [M] kernel/kheaders.o MODPOST Module.symvers WARNING: modpost: missing MODULE_LICENSE() in drivers/staging/vsmp-guest-driver/common/vsmp_version.o ERROR: modpost: "vsmp_release_op" [drivers/staging/vsmp-guest-driver/common/vsmp_version.ko] undefined! ERROR: modpost: "vsmp_deregister_sysfs_group" [drivers/staging/vsmp-guest-driver/common/vsmp_version.ko] undefined! ERROR: modpost: "vsmp_register_sysfs_group" [drivers/staging/vsmp-guest-driver/common/vsmp_version.ko] undefined! ERROR: modpost: "vsmp_init_op" [drivers/staging/vsmp-guest-driver/common/vsmp_version.ko] undefined! ERROR: modpost: "vsmp_read_buff_from_bar" [drivers/staging/vsmp-guest-driver/common/vsmp_version.ko] undefined! ERROR: modpost: "vsmp_generic_buff_read" [drivers/staging/vsmp-guest-driver/common/vsmp_version.ko] undefined! ERROR: modpost: "vsmp_read_reg_from_cfg" [drivers/staging/vsmp-guest-driver/common/vsmp_version.ko] undefined! ERROR: modpost: "sysfs_deregister_version_cb" [drivers/staging/vsmp-guest-driver/common/vsmp_common.ko] undefined! ERROR: modpost: "sysfs_register_version_cb" [drivers/staging/vsmp-guest-driver/common/vsmp_common.ko] undefined! make[1]: *** [scripts/Makefile.modpost:111: Module.symvers] Error 1 make[1]: *** Deleting file 'Module.symvers' make: *** [Makefile:1370: modules] Error 2 vsmp_version.o is one file out of two in one module named common, the other one is the main entry point for the module, is it logical I need to define MODULE_LICENSE in both files? prior to the common module, the api module should be build but it isn't for some reason, the makefile looks like this: # SPDX-License-Identifier: GPL-2.0 ccflags-y += -I $(srctree)/drivers/staging/vsmp-guest-driver/include obj-$(CONFIG_VSMP_GUEST_DRIVER) := api/vsmp_api.o obj-$(CONFIG_VSMP_GUEST_DRIVER_COMMON) := common/vsmp_common.o obj-$(CONFIG_VSMP_GUEST_DRIVER_COMMON) += common/vsmp_version.o obj-$(CONFIG_VSMP_GUEST_DRIVER_LOG) := vsmp_logs_handler.o any ideas what I did wrong with the configuration? Thanks, Eial