1. 19 3月, 2010 4 次提交
    • G
      sysfs: fix sysfs lockdep warning in infiniband code · 21e3bde9
      Greg Kroah-Hartman 提交于
      This fixes a sysfs lockdep warning in the infiniband code.
      
      Cc: Yinghai Lu <yinghai@kernel.org>
      Cc: Eric Biederman <ebiederm@xmission.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      21e3bde9
    • G
      sysfs: fix sysfs lockdep warning in ipmi code · c7df670b
      Greg Kroah-Hartman 提交于
      This fixes a sysfs lockdep warning in the ipmi code.
      
      Thanks to Eric Biederman and Yinghai Lu for the original versions of the
      patch, unfortunatly they did not submit them in a form they could be
      applied in.
      
      Cc: Yinghai Lu <yinghai@kernel.org>
      Cc: Eric Biederman <ebiederm@xmission.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      c7df670b
    • M
      sysfs: Initialised pci bus legacy_mem field before use · 6757eca3
      Mel Gorman 提交于
      PPC64 is failing to boot the latest mmotm due to an uninitialised pointer in
      pci_create_legacy_files(). The surprise is that machines boot at all and it
      would appear to affect current mainline as well.  This patch fixes the problem.
      Signed-off-by: NMel Gorman <mel@csn.ul.ie>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      6757eca3
    • J
      sysfs: use sysfs_bin_attr_init in firmware class driver · e1955ca0
      Jiri Kosina 提交于
      Annotate dynamic sysfs attribute in fw_setup_device(). This gets
      rid of the following lockdep warning:
      
      bnx2 0000:08:00.0: firmware: requesting bnx2/bnx2-mips-06-5.0.0.j6.fw
      BUG: key ffff880008293470 not in .data!
      ------------[ cut here ]------------
      WARNING: at kernel/lockdep.c:2706 lockdep_init_map+0x562/0x620()
      Modules linked in: bnx2(+) sg tpm_bios floppy rtc_lib usb_storage i2c_piix4 joydev button container shpchp i2c_core sr_mod cdrom pci_hotplug usbhid hid ohci_hcd ehci_hcd sd_mod usbcore edd ext3 mbcache jbd fan ata_generic sata_svw pata_serverworks libata scsi_mod thermal processor
      Pid: 1915, comm: work_for_cpu Not tainted 2.6.34-rc1-default #81
      Call Trace:
       [<ffffffff8107c1d2>] ? lockdep_init_map+0x562/0x620
       [<ffffffff81049fd8>] warn_slowpath_common+0x78/0xd0
       [<ffffffff8104a03f>] warn_slowpath_null+0xf/0x20
       [<ffffffff8107c1d2>] lockdep_init_map+0x562/0x620
       [<ffffffff8117a236>] ? sysfs_new_dirent+0x76/0x120
       [<ffffffff8126edb2>] ? put_device+0x12/0x20
       [<ffffffff811797cc>] sysfs_add_file_mode+0x6c/0xd0
       [<ffffffff8117983c>] sysfs_add_file+0xc/0x10
       [<ffffffff8117bf61>] sysfs_create_bin_file+0x21/0x30
       [<ffffffff81279c61>] _request_firmware+0x2f1/0x650
       [<ffffffff8127a04e>] request_firmware+0xe/0x10
       [<ffffffffa01ec19e>] bnx2_init_one+0x8f5/0x177e [bnx2]
       [<ffffffff81389eab>] ? _raw_spin_unlock_irq+0x2b/0x40
       [<ffffffff81040ed9>] ? finish_task_switch+0x69/0x100
       [<ffffffff81040e70>] ? finish_task_switch+0x0/0x100
       [<ffffffff81064b40>] ? do_work_for_cpu+0x0/0x30
       [<ffffffff811e6302>] local_pci_probe+0x12/0x20
       [<ffffffff81064b53>] do_work_for_cpu+0x13/0x30
       [<ffffffff81064b40>] ? do_work_for_cpu+0x0/0x30
       [<ffffffff81068c56>] kthread+0x96/0xa0
       [<ffffffff81003e64>] kernel_thread_helper+0x4/0x10
       [<ffffffff8138a350>] ? restore_args+0x0/0x30
       [<ffffffff81068bc0>] ? kthread+0x0/0xa0
       [<ffffffff81003e60>] ? kernel_thread_helper+0x0/0x10
      ---[ end trace a2ecee9c9602d195 ]---
      
      Cc: Eric W. Biederman <ebiederm@xmission.com>
      Cc: Greg Kroah-Hartman <gregkh@suse.de>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
      e1955ca0
  2. 15 3月, 2010 31 次提交
  3. 14 3月, 2010 5 次提交