1. 16 Jul, 2016 1 commit
  2. 15 Jul, 2016 3 commits
    • Kees Cook's avatar
      lkdtm: silence warnings about function declarations · 6d2e91a6
      Kees Cook authored
      When building under W=1, the lack of lkdtm.h in lkdtm_usercopy.c and
      lkdtm_rodata.c was discovered. This fixes the issue and consolidates
      the common header and the pr_fmt macro for simplicity and regularity
      across each test source file.
      Signed-off-by: default avatarKees Cook <keescook@chromium.org>
      6d2e91a6
    • Arnd Bergmann's avatar
      lkdtm: hide unused functions · 2b271cb7
      Arnd Bergmann authored
      A conversion of the lkdtm core module added an "#ifdef CONFIG_KPROBES" check,
      but a number of functions then become unused:
      
      drivers/misc/lkdtm_core.c:340:16: error: 'lkdtm_debugfs_entry' defined but not used [-Werror=unused-function]
      drivers/misc/lkdtm_core.c:122:12: error: 'jp_generic_ide_ioctl' defined but not used [-Werror=unused-function]
      drivers/misc/lkdtm_core.c:114:12: error: 'jp_scsi_dispatch_cmd' defined but not used [-Werror=unused-function]
      drivers/misc/lkdtm_core.c:106:12: error: 'jp_hrtimer_start' defined but not used [-Werror=unused-function]
      drivers/misc/lkdtm_core.c:97:22: error: 'jp_shrink_inactive_list' defined but not used [-Werror=unused-function]
      drivers/misc/lkdtm_core.c:89:13: error: 'jp_ll_rw_block' defined but not used [-Werror=unused-function]
      drivers/misc/lkdtm_core.c:83:13: error: 'jp_tasklet_action' defined but not used [-Werror=unused-function]
      drivers/misc/lkdtm_core.c:75:20: error: 'jp_handle_irq_event' defined but not used [-Werror=unused-function]
      drivers/misc/lkdtm_core.c:68:21: error: 'jp_do_irq' defined but not used [-Werror=unused-function]
      
      This adds the same #ifdef everywhere. There is probably a better way to do the
      same thing, but for now this avoids the new warnings.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Fixes: c479e3fd ("lkdtm: use struct arrays instead of enums")
      [kees: moved some code around to better consolidate the #ifdefs]
      Signed-off-by: default avatarKees Cook <keescook@chromium.org>
      2b271cb7
    • Greg Kroah-Hartman's avatar
      Merge tag 'stm-for-greg-20160714' of... · 80f76319
      Greg Kroah-Hartman authored
      Merge tag 'stm-for-greg-20160714' of git://git.kernel.org/pub/scm/linux/kernel/git/ash/stm into char-misc-next
      
      Alexander writes:
      
      intel_th: Fixes -t://git.kernel.org/pub/scm/linux/kernel/git/ash/stm.git
      tags/stm-for-greg-20160714
      stable
      
      These are:
       * a fix for a modprobe time deadlock
       * a new PCI ID for Kaby Lake PCH-H
      80f76319
  3. 14 Jul, 2016 7 commits
  4. 07 Jul, 2016 12 commits
  5. 02 Jul, 2016 2 commits
  6. 01 Jul, 2016 4 commits
  7. 30 Jun, 2016 1 commit
    • Arnd Bergmann's avatar
      extcon: link devres into core module · af61f961
      Arnd Bergmann authored
      Splitting the resource-managed functions into a separate module
      means that the extcon core now fails to build because the internal
      "extcon_dev_allocate" symbol is not exported:
      
      ERROR: extcon_dev_allocate [drivers/extcon/devres.ko] undefined!
      
      My guess is that the intention was not to have two separate
      modules (which could be fixed by adding an export, plus the
      normal MODULE_AUTHOR/MODULE_LICENSE/... fields), but have two
      source files in the same module.
      
      This fixes the Makefile accordingly, making the name of the
      module extcon_core.ko, which is created from building both
      extcon.c and devres.c.
      
      Fixes: b225d00f ("extcon: Split out the resource-managed functions from extcon core")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
      af61f961
  8. 29 Jun, 2016 1 commit
  9. 27 Jun, 2016 3 commits
  10. 25 Jun, 2016 6 commits