1. 22 8月, 2008 1 次提交
  2. 29 7月, 2008 1 次提交
  3. 22 7月, 2008 10 次提交
  4. 15 5月, 2008 1 次提交
  5. 01 5月, 2008 1 次提交
  6. 20 4月, 2008 1 次提交
  7. 31 1月, 2008 1 次提交
  8. 28 1月, 2008 1 次提交
    • G
      Driver core: Fix up build when CONFIG_BLOCK=N · 4e886c29
      Greg Kroah-Hartman 提交于
      This fixes up the driver core build errors when CONFIG_BLOCK=N
      
      Thanks to Alexander van Heukelum <heukelum@mailshack.com> for the basis
      of this patch, and to Jeremy Fitzhardinge <jeremy@goop.org> for
      reporting the problem.
      
      
      Cc: Alexander van Heukelum <heukelum@mailshack.com>
      Cc: Jeremy Fitzhardinge <jeremy@goop.org>
      Cc: Kay Sievers <kay.sievers@vrfy.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      4e886c29
  9. 25 1月, 2008 11 次提交
  10. 01 11月, 2007 1 次提交
  11. 31 10月, 2007 1 次提交
  12. 13 10月, 2007 6 次提交
  13. 12 7月, 2007 2 次提交
    • T
      driver-core: make devt_attr and uevent_attr static · ad6a1e1c
      Tejun Heo 提交于
      devt_attr and uevent_attr are either allocated dynamically with or
      embedded in device and class_device as they needed their owner field
      set to the module implementing the driver.  Now that sysfs implements
      immediate disconnect and owner field removed from struct attribute,
      there is no reason to do this.  Remove these attributes from
      [class_]device and use static attribute structures instead.
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      ad6a1e1c
    • T
      sysfs: kill unnecessary attribute->owner · 7b595756
      Tejun Heo 提交于
      sysfs is now completely out of driver/module lifetime game.  After
      deletion, a sysfs node doesn't access anything outside sysfs proper,
      so there's no reason to hold onto the attribute owners.  Note that
      often the wrong modules were accounted for as owners leading to
      accessing removed modules.
      
      This patch kills now unnecessary attribute->owner.  Note that with
      this change, userland holding a sysfs node does not prevent the
      backing module from being unloaded.
      
      For more info regarding lifetime rule cleanup, please read the
      following message.
      
        http://article.gmane.org/gmane.linux.kernel/510293
      
      (tweaked by Greg to not delete the field just yet, to make it easier to
      merge things properly.)
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      7b595756
  14. 09 6月, 2007 1 次提交
  15. 03 5月, 2007 1 次提交