Revision 3bd354abe17f2c8aa426ef84b78f14e505f0a920 authored by Linus Torvalds on 14 February 2014, 19:05:41 UTC, committed by Linus Torvalds on 14 February 2014, 19:05:41 UTC
Pull EDAC fixes from Borislav Petkov:
 "Fix polling timeout setting through sysfs.

  You're surely wondering why the patches are not based on an rc.  Well,
  Andrew sent you 79040cad3f82 ("drivers/edac/edac_mc_sysfs.c: poll
  timeout cannot be zero sent you") already (it got in in -rc2) but it
  is not enough as a fix because for one, setting too low polling
  intervals (< 1sec) don't make any sense and cause unnecessary polling
  load on the system.

  Then, even if we set some interval, we explode with

    [ 4143.094342] WARNING: CPU: 1 PID: 0 at kernel/workqueue.c:1393 __queue_work+0x1d7/0x340()

  because the workqueue setup path is used also for the timeout period
  resetting and we're doing INIT_DELAYED_WORK() on an already active
  workqueue.  Which is total bollocks.  So this is taken care of by the
  second patch.

  I've CCed stable for those two"

* tag 'edac_for_3.14' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp:
  EDAC: Correct workqueue setup path
  EDAC: Poll timeout cannot be zero, p2
2 parent s cbc2525 + cb6ef42
History
File Mode Size
Kconfig -rw-r--r-- 795 bytes
Makefile -rw-r--r-- 279 bytes
ad1843.c -rw-r--r-- 16.0 KB
au1x00.c -rw-r--r-- 18.7 KB
hal2.c -rw-r--r-- 25.0 KB
hal2.h -rw-r--r-- 8.2 KB
sgio2audio.c -rw-r--r-- 26.6 KB

back to top