1. 03 10月, 2008 1 次提交
  2. 07 8月, 2008 1 次提交
  3. 26 7月, 2008 1 次提交
  4. 22 7月, 2008 1 次提交
  5. 10 7月, 2008 1 次提交
  6. 01 7月, 2008 1 次提交
  7. 10 6月, 2008 1 次提交
  8. 21 5月, 2008 1 次提交
    • G
      Power Supply: fix race in device_create · 54d29ad3
      Greg Kroah-Hartman 提交于
      There is a race from when a device is created with device_create() and
      then the drvdata is set with a call to dev_set_drvdata() in which a
      sysfs file could be open, yet the drvdata will be NULL, causing all
      sorts of bad things to happen.
      
      This patch fixes the problem by using the new function,
      device_create_drvdata().
      
      Cc: Kay Sievers <kay.sievers@vrfy.org>
      Cc: Anton Vorontsov <cbou@mail.ru>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      54d29ad3
  9. 19 5月, 2008 1 次提交
  10. 13 5月, 2008 1 次提交
  11. 04 5月, 2008 4 次提交
  12. 03 5月, 2008 2 次提交
  13. 29 4月, 2008 2 次提交
  14. 08 2月, 2008 1 次提交
  15. 06 2月, 2008 1 次提交
  16. 02 2月, 2008 11 次提交
  17. 25 1月, 2008 1 次提交
  18. 19 10月, 2007 1 次提交
    • J
      Add missing newlines to some uses of dev_<level> messages · 898eb71c
      Joe Perches 提交于
      Found these while looking at printk uses.
      
      Add missing newlines to dev_<level> uses
      Add missing KERN_<level> prefixes to multiline dev_<level>s
      Fixed a wierd->weird spelling typo
      Added a newline to a printk
      Signed-off-by: NJoe Perches <joe@perches.com>
      Cc: "Luck, Tony" <tony.luck@intel.com>
      Cc: Jens Axboe <jens.axboe@oracle.com>
      Cc: Mark M. Hoffman <mhoffman@lightlink.com>
      Cc: Roland Dreier <rolandd@cisco.com>
      Cc: Tilman Schmidt <tilman@imap.cc>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Jeff Garzik <jeff@garzik.org>
      Cc: Stephen Hemminger <shemminger@linux-foundation.org>
      Cc: Greg KH <greg@kroah.com>
      Cc: Jeremy Fitzhardinge <jeremy@goop.org>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      Cc: David Brownell <david-b@pacbell.net>
      Cc: James Smart <James.Smart@Emulex.Com>
      Cc: Andrew Vasquez <andrew.vasquez@qlogic.com>
      Cc: "Antonino A. Daplas" <adaplas@pol.net>
      Cc: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Cc: Jaroslav Kysela <perex@suse.cz>
      Cc: Takashi Iwai <tiwai@suse.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      898eb71c
  19. 13 10月, 2007 1 次提交
    • K
      Driver core: change add_uevent_var to use a struct · 7eff2e7a
      Kay Sievers 提交于
      This changes the uevent buffer functions to use a struct instead of a
      long list of parameters. It does no longer require the caller to do the
      proper buffer termination and size accounting, which is currently wrong
      in some places. It fixes a known bug where parts of the uevent
      environment are overwritten because of wrong index calculations.
      
      Many thanks to Mathieu Desnoyers for finding bugs and improving the
      error handling.
      Signed-off-by: NKay Sievers <kay.sievers@vrfy.org>
      Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
      Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
      7eff2e7a
  20. 05 10月, 2007 3 次提交
  21. 21 9月, 2007 1 次提交
  22. 23 7月, 2007 1 次提交
    • P
      Don't compile the PMU power driver on 64-bit PowerPC · a1da5f4f
      Paul Mackerras 提交于
      As reported by Stephen Rothwell, an allmodconfig build on 64-bit
      PowerPC reports these errors:
      
      ERROR: "pmu_batteries" [drivers/power/pmu_battery.ko] undefined!
      ERROR: "pmu_battery_count" [drivers/power/pmu_battery.ko] undefined!
      ERROR: "pmu_power_flags" [drivers/power/pmu_battery.ko] undefined!
      
      This fixes the problem by not building pmu_battery.ko on ppc64.  There
      are no battery-powered ppc64 machines with an Apple PMU, and we can be
      reasonably confident there never will be.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      a1da5f4f
  23. 16 7月, 2007 1 次提交