1. 04 7月, 2006 1 次提交
    • A
      [PATCH] sparc: resource warning fix · 5863aa65
      Andrew Morton 提交于
      sound/sparc/amd7930.c: In function 'amd7930_attach_common':
      sound/sparc/amd7930.c:1040: warning: format '%08lx' expects type 'long unsigned int', but argument 5 has type 'resource_size_t'
      
      sound/sparc/cs4231.c:2043: warning: format '%016lx' expects type 'long unsigned int', but argument 5 has type 'resource_size_t'
      
      sound/sparc/dbri.c: In function 'dbri_attach':
      sound/sparc/dbri.c:2650: warning: format '%016lx' expects type 'long unsigned int', but argument 5 has type 'resource_size_t'
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      5863aa65
  2. 03 7月, 2006 1 次提交
  3. 02 7月, 2006 1 次提交
  4. 01 7月, 2006 3 次提交
  5. 30 6月, 2006 1 次提交
  6. 29 6月, 2006 21 次提交
  7. 28 6月, 2006 3 次提交
  8. 27 6月, 2006 2 次提交
  9. 26 6月, 2006 4 次提交
  10. 24 6月, 2006 2 次提交
  11. 23 6月, 2006 1 次提交
    • J
      [PATCH] OSS: cs46xx cleanup and tiny bugfix · 2eebb192
      Jesper Juhl 提交于
      Here's a patch for cs46xx that
       - (mostly) cleans up the cs46xx driver according to CodingStyle
       - removes a bunch of pointless casts
       - fixes a small, potential use of uninitialized variable, bug
       - reduces the size of the compiled code by 36 bytes
       - reduces the size of the source file by 1831 bytes
      
      I know I should probably have split this into bits, but since I only
      thought of that *after* doing all the edits, splitting it up would have
      been a royal pain. And since these are all pretty trivial changes I thought
      I'd just submit the one huge patch and hope people could live with it (if
      not, then just tell me and I'll split it).
      
      The bug fix that's in there may be hard to spot, so I'll point it out. It's
      the
         -       int val, valsave, mapped, ret;
         +       int val, valsave, ret;
         +       int mapped = 0;
      bit.
      Without that change we may use `mapped' uninitialized if, in cs_ioctl, the
      first test of "if(state)" is false and the second "if(state)" test is true.
      Signed-off-by: NJesper Juhl <jesper.juhl@gmail.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      2eebb192