1. 24 Oct, 2011 15 commits
  2. 20 Oct, 2011 12 commits
  3. 18 Oct, 2011 1 commit
  4. 17 Oct, 2011 1 commit
    • Linus Torvalds's avatar
      Avoid using variable-length arrays in kernel/sys.c · a84a79e4
      Linus Torvalds authored
      The size is always valid, but variable-length arrays generate worse code
      for no good reason (unless the function happens to be inlined and the
      compiler sees the length for the simple constant it is).
      
      Also, there seems to be some code generation problem on POWER, where
      Henrik Bakken reports that register r28 can get corrupted under some
      subtle circumstances (interrupt happening at the wrong time?).  That all
      indicates some seriously broken compiler issues, but since variable
      length arrays are bad regardless, there's little point in trying to
      chase it down.
      
      "Just don't do that, then".
      Reported-by: default avatarHenrik Grindal Bakken <henribak@cisco.com>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: stable@kernel.org
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      a84a79e4
  5. 16 Oct, 2011 1 commit
  6. 15 Oct, 2011 3 commits
  7. 14 Oct, 2011 6 commits
  8. 13 Oct, 2011 1 commit
    • Jean Delvare's avatar
      hwmon: (w83627ehf) Properly report thermal diode sensors · bf164c58
      Jean Delvare authored
      The w83627ehf driver is improperly reporting thermal diode sensors as
      type 2, instead of 3. This caused "sensors" and possibly other
      monitoring tools to report these sensors as "transistor" instead of
      "thermal diode".
      
      Furthermore, diode subtype selection (CPU vs. external) is only
      supported by the original W83627EHF/EHG. All later models only support
      CPU diode type, and some (NCT6776F) don't even have the register in
      question so we should avoid reading from it.
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Cc: stable@kernel.org
      Signed-off-by: default avatarGuenter Roeck <guenter.roeck@ericsson.com>
      bf164c58