Skip to contentSkip to conversation

ERROR: "device_pm_lock" [drivers/base/firmware_class.ko] un

PATCH Greg Kroah-Hartman 2 participants 2 messages Aug 16, 2012 Kernel janitors

lore
Share & tools
lore
#0 lore raw
Quoted 9 lines · Fengguang Wu

Hi Ming,

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-next
head:   b47a81dcc5a806efb6d970608299129771588289
commit: 07646d9c0938d40b943c592dd1c6435ab24c4e2f [23/25] firmware loader: cache devices firmware during suspend/resume cycle
config: x86_64-allmodconfig (attached as .config)
Quoted 7 lines

Build errors:

ERROR: "device_pm_lock" [drivers/base/firmware_class.ko] undefined!
ERROR: "dpm_list" [drivers/base/firmware_class.ko] undefined!
ERROR: "device_pm_unlock" [drivers/base/firmware_class.ko] undefined!

The errors also happen in the branch HEAD.

Ah, I think this happens when CONFIG_FW_LOADER=m, I have it set to =y in my tree.

Ming, care to send me a patch to fix this up?

thanks,

greg k-h

#1 lore raw
Quoted 16 lines · Greg Kroah-Hartman
Quoted 15 lines · Fengguang Wu

Hi Ming,

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-next
head:   b47a81dcc5a806efb6d970608299129771588289
commit: 07646d9c0938d40b943c592dd1c6435ab24c4e2f [23/25] firmware loader: cache devices firmware during suspend/resume cycle
config: x86_64-allmodconfig (attached as .config)

Build errors:

ERROR: "device_pm_lock" [drivers/base/firmware_class.ko] undefined!
ERROR: "dpm_list" [drivers/base/firmware_class.ko] undefined!
ERROR: "device_pm_unlock" [drivers/base/firmware_class.ko] undefined!

Quoted 6 lines
Quoted 1 line

The errors also happen in the branch HEAD.

Ah, I think this happens when CONFIG_FW_LOADER=m, I have it set to =y in my tree.

Ming, care to send me a patch to fix this up?

OK, I will send patches to fix all the compiling problems reported by Fengguang today.

thank,
--
Ming Lei