Re: [Bugme-new] [Bug 15494] New: BUG: key ffff88013d4f4c70 not in .data! when loading microcode.ko

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Zijlstra
Date: Thursday, March 18, 2010 - 5:27 pm

On Thu, 2010-03-18 at 14:35 -0700, Andrew Morton wrote:

You're right, that patch adds a key to struct attribute, and the
firmware stuff seems to dynamically allocate these things in
firmware_priv::bin_attribute::attr.

The allocation seems to happen in fw_register_device().

So yes, that patch is incompatible with the firmware usage, as struct
lock_class_key's are required to be in static storage.



--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [Bugme-new] [Bug 15494] New: BUG: key ffff88013d4f4c70 ..., Peter Zijlstra, (Thu Mar 18, 5:27 pm)
Re: [Bugme-new] [Bug 15494] New: BUG: key ffff88013d4f4c70 ..., Eric W. Biederman, (Thu Mar 18, 5:49 pm)