1. 02 10月, 2006 2 次提交
    • L
      pccard_store_cis: fix wrong error handling · d834c165
      Linus Torvalds 提交于
      The test for the error from pcmcia_replace_cis() was incorrect, and
      would always trigger (because if an error didn't happen, the "ret" value
      would not be zero, it would be the passed-in count).
      
      Reported and debugged by Fabrice Bellet <fabrice@bellet.info>
      
      Rather than just fix the single broken test, make the code in question
      use an understandable code-sequence instead, fixing the whole function
      to be more readable.
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      d834c165
    • A
      [PATCH] rtc-sysfs fix · 4e9011d5
      Andrew Morton 提交于
      It's not clear how this thinko got through..
      
      Cc: Olaf Hering <olaf@aepfle.de>
      Cc: David Brownell <david-b@pacbell.net>
      Cc: Alessandro Zummo <alessandro.zummo@towertech.it>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      4e9011d5
  2. 01 10月, 2006 38 次提交