1. 16 Sep, 2014 9 commits
  2. 06 Sep, 2014 7 commits
  3. 05 Sep, 2014 8 commits
  4. 04 Sep, 2014 11 commits
  5. 03 Sep, 2014 5 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
    • Noam Camus's avatar
      ARC: [mm] Fix compilation breakage · 014018e0
      Noam Camus authored
      Structure name and variable name were erroneously interchanged
      Signed-off-by: default avatarNoam Camus <noamc@ezchip.com>
      Acked-by: default avatarVineet Gupta <vgupta@synopsys.com>
      [ Also removed pointless cast from "void *".  - Linus ]
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      014018e0
    • Linus Torvalds's avatar
      Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · 955837d8
      Linus Torvalds authored
      Pull more arm64 fixes from Will Deacon:
       "Another handful of arm64 fixes here.  They address some issues found
        by running smatch on the arch code (ignoring the false positives) and
        also stop 32-bit Android from losing track of its stack.
      
        There's one additional irq migration fix in the pipeline, but it came
        in after I'd tagged and tested this set.
      
         - a few fixes for real issues found by smatch (after Dan's talk at KS)
      
         - revert the /proc/cpuinfo changes merged during the merge window.
           We've opened a can of worms here, so we need to find out where we
           stand before we change this interface.
      
         - implement KSTK_ESP for compat tasks, otherwise 32-bit Android gets
           confused wondering where its [stack] has gone
      
         - misc fixes (fpsimd context handling, crypto, ...)"
      
      * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
        Revert "arm64: cpuinfo: print info for all CPUs"
        arm64: fix bug for reloading FPSIMD state after cpu power off
        arm64: report correct stack pointer in KSTK_ESP for compat tasks
        arm64: Add brackets around user_stack_pointer()
        arm64: perf: don't rely on layout of pt_regs when grabbing sp or pc
        arm64: ptrace: fix compat reg getter/setter return values
        arm64: ptrace: fix compat hardware watchpoint reporting
        arm64: Remove unused variable in head.S
        arm64/crypto: remove redundant update of data
      955837d8