1. 16 Sep, 2014 11 commits
  2. 06 Sep, 2014 7 commits
  3. 05 Sep, 2014 8 commits
  4. 04 Sep, 2014 11 commits
  5. 03 Sep, 2014 3 commits
    • Dan Carpenter's avatar
      toshiba_acpi: fix and cleanup toshiba_kbd_bl_mode_store() · aeaac098
      Dan Carpenter authored
      The current code just returns -EINVAL because mode can't be equal to
      both 1 and 2.
      
      Also this function is messy so I have cleaned it up:
      1) Remove initializers like "int time = -1".  Initializing variables to
         garbage values turns off GCC's uninitialized variable warnings so it
         can lead to bugs.
      2) Use kstrtoint() instead of sscanf().
      3) Use SCI_KBD_MODE_FNZ and SCI_KBD_MODE_AUTO instead of magic numbers 1
         and 2.
      4) Don't check for "mode == -1" because that can't happen.
      5) Preserve the error code from toshiba_kbd_illum_status_set().
      Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Signed-off-by: default avatarDarren Hart <dvhart@linux.intel.com>
      aeaac098
    • Linus Torvalds's avatar
      Merge tag 'for-f2fs-3.17-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs · 70c8038d
      Linus Torvalds authored
      Pull f2fs bug fixes from Jaegeuk Kim:
       "This series includes patches to:
      
         - fix recovery routines
         - fix bugs related to inline_data/xattr
         - fix when casting the dentry names
         - handle EIO or ENOMEM correctly
         - fix memory leak
         - fix lock coverage"
      
      * tag 'for-f2fs-3.17-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs: (28 commits)
        f2fs: reposition unlock_new_inode to prevent accessing invalid inode
        f2fs: fix wrong casting for dentry name
        f2fs: simplify by using a literal
        f2fs: truncate stale block for inline_data
        f2fs: use macro for code readability
        f2fs: introduce need_do_checkpoint for readability
        f2fs: fix incorrect calculation with total/free inode num
        f2fs: remove rename and use rename2
        f2fs: skip if inline_data was converted already
        f2fs: remove rewrite_node_page
        f2fs: avoid double lock in truncate_blocks
        f2fs: prevent checkpoint during roll-forward
        f2fs: add WARN_ON in f2fs_bug_on
        f2fs: handle EIO not to break fs consistency
        f2fs: check s_dirty under cp_mutex
        f2fs: unlock_page when node page is redirtied out
        f2fs: introduce f2fs_cp_error for readability
        f2fs: give a chance to mount again when encountering errors
        f2fs: trigger release_dirty_inode in f2fs_put_super
        f2fs: don't skip checkpoint if there is no dirty node pages
        ...
      70c8038d
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security · 5a147c9f
      Linus Torvalds authored
      Pull key subsystem fixes from James Morris:
       "Fixes for the keys subsystem, one of which addresses a use-after-free
        bug"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security:
        PEFILE: Relax the check on the length of the PKCS#7 cert
        KEYS: Fix use-after-free in assoc_array_gc()
        KEYS: Fix public_key asymmetric key subtype name
        KEYS: Increase root_maxkeys and root_maxbytes sizes
      5a147c9f