1. 13 11月, 2010 1 次提交
  2. 11 11月, 2010 1 次提交
  3. 30 10月, 2010 1 次提交
  4. 28 10月, 2010 4 次提交
  5. 27 10月, 2010 20 次提交
  6. 26 10月, 2010 3 次提交
  7. 25 10月, 2010 1 次提交
    • I
      x86/oprofile: Fix uninitialized variable use in debug printk · 2c78ffec
      Ingo Molnar 提交于
      Stephen Rothwell reported this build warning:
      
        arch/x86/oprofile/op_model_amd.c: In function 'ibs_eilvt_valid':
        arch/x86/oprofile/op_model_amd.c:289: warning: 'offset' may be used uninitialized in this function
      
      And correctly observed that indeed the variable is used uninitialized in
      this function. The result of this bug can be a debug printk with a bogus
      value.
      
      Also fix a few more small details that made this function hard to read
      and which probably contributed to the bug being introduced to begin with:
      
       - Use more symmetric error conditions
      
       - Remove the !0 obfuscation
      
       - Add newlines to the printk output
      
       - Remove bogus linebreaks in printk strings and elsewhere
      Reported-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Cc: Robert Richter <robert.richter@amd.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      LKML-Reference: <20101025115736.41d51abe.sfr@canb.auug.org.au>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      2c78ffec
  8. 24 10月, 2010 9 次提交