1. 21 1月, 2008 4 次提交
  2. 20 10月, 2007 2 次提交
  3. 13 10月, 2007 3 次提交
  4. 10 10月, 2007 1 次提交
    • J
      drivers/firmware: const-ify DMI API and internals · 1855256c
      Jeff Garzik 提交于
      Three main sets of changes:
      
      1) dmi_get_system_info() return value should have been marked const,
         since callers should not be changing that data.
      
      2) const-ify DMI internals, since DMI firmware tables should,
         whenever possible, be marked const to ensure we never ever write to
         that data area.
      
      3) const-ify DMI API, to enable marking tables const where possible
         in low-level drivers.
      
      And if we're really lucky, this might enable some additional
      optimizations on the part of the compiler.
      
      The bulk of the changes are #2 and #3, which are interrelated.  #1 could
      have been a separate patch, but it was so small compared to the others,
      it was easier to roll it into this changeset.
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      1855256c
  5. 23 8月, 2007 1 次提交
  6. 24 7月, 2007 1 次提交
  7. 22 7月, 2007 1 次提交
  8. 10 7月, 2007 4 次提交
  9. 13 6月, 2007 1 次提交
  10. 23 5月, 2007 1 次提交
  11. 16 5月, 2007 1 次提交
  12. 11 5月, 2007 1 次提交
  13. 08 5月, 2007 1 次提交
  14. 03 5月, 2007 1 次提交
  15. 30 4月, 2007 3 次提交
  16. 12 4月, 2007 6 次提交
  17. 07 3月, 2007 1 次提交
  18. 18 2月, 2007 1 次提交
  19. 13 2月, 2007 1 次提交
  20. 10 2月, 2007 2 次提交
  21. 08 12月, 2006 1 次提交
    • N
      [PATCH] Correct misc_register return code handling in several drivers · 5d469ec0
      Neil Horman 提交于
      Clean up several code points in which the return code from misc_register is
      not handled properly.
      
      Several modules failed to deregister various hooks when misc_register fails,
      and this patch cleans them up.  Also there are a few modules that legitimately
      don't care about the failure status of misc register.  These drivers however
      unilaterally call misc_deregister on module unload.
      
      Since misc_register doesn't initialize the list_head in the init_routine if it
      fails, the deregister operation is at risk for oopsing when list_del is
      called.  The initial solution was to manually init the list in the miscdev
      structure in each of those modules, but the consensus in this thread was to
      consolodate and do that universally inside misc_register.
      Signed-off-by: NNeil Horman <nhorman@tuxdriver.com>
      Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
      Cc: Kylene Jo Hall <kjhall@us.ibm.com>
      Cc: Dmitry Torokhov <dtor@mail.ru>
      Cc: Olaf Hering <olh@suse.de>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      5d469ec0
  22. 16 10月, 2006 1 次提交
  23. 12 10月, 2006 1 次提交