1. 20 Dec, 2018 1 commit
    • Nathan Chancellor's avatar
      media: ddbridge: Move asm includes after linux ones · bbb55cd7
      Nathan Chancellor authored
      Without this, cpumask_t and bool are not defined:
      
      In file included from drivers/media/pci/ddbridge/ddbridge-ci.c:19:
      In file included from drivers/media/pci/ddbridge/ddbridge.h:22:
      ./arch/arm/include/asm/irq.h:35:50: error: unknown type name 'cpumask_t'
      extern void arch_trigger_cpumask_backtrace(const cpumask_t *mask,
                                                       ^
      ./arch/arm/include/asm/irq.h:36:9: error: unknown type name 'bool'
                                                 bool exclude_self);
                                                 ^
      
      Doing a survey of the kernel tree, this appears to be expected because
      '#include <asm/irq.h>' is always after the linux includes.
      
      This also fixes warnings of this variety (with Clang):
      
      In file included from drivers/media/pci/ddbridge/ddbridge-ci.c:19:
      In file included from drivers/media/pci/ddbridge/ddbridge.h:56:
      In file included from ./include/media/dvb_net.h:22:
      In file included from ./include/linux/netdevice.h:50:
      In file included from ./include/uapi/linux/neighbour.h:6:
      In file included from ./include/linux/netlink.h:9:
      In file included from ./include/net/scm.h:11:
      In file included from ./include/linux/sched/signal.h:6:
      ./include/linux/signal.h:87:11: warning: array index 3 is past the end
      of the array (which contains 2 elements) [-Warray-bounds]
                      return (set->sig[3] | set->sig[2] |
                              ^        ~
      ./arch/arm/include/asm/signal.h:17:2: note: array 'sig' declared here
              unsigned long sig[_NSIG_WORDS];
              ^
      
      Fixes: b6973637 ("media: ddbridge: remove another duplicate of io.h and sort includes")
      Signed-off-by: default avatarNathan Chancellor <natechancellor@gmail.com>
      Tested-by: default avatarGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
      bbb55cd7
  2. 17 Dec, 2018 3 commits
    • Mauro Carvalho Chehab's avatar
      media: drxk_hard: check if parameter is not NULL · daad52c8
      Mauro Carvalho Chehab authored
      There is a smatch warning:
      	drivers/media/dvb-frontends/drxk_hard.c: drivers/media/dvb-frontends/drxk_hard.c:1478 scu_command() error: we previously assumed 'parameter' could be null (see line 1467)
      
      Telling that parameter might be NULL. Well, it can't, due to the
      way the driver works, but it doesn't hurt to add a check, in order
      to shut up smatch.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
      Reviewed-by: default avatarNick Desaulniers <ndesaulniers@google.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
      daad52c8
    • Mauro Carvalho Chehab's avatar
      media: docs: fix some GPL licensing ambiguity at the text · e7121ab4
      Mauro Carvalho Chehab authored
      Those files are meant to be dual GPL 2.0 and GFDL without
      implicit sections. However, by a wrong cut-and-paste, I ended
      by applying a GPL 2+ license text to it, while still using the
      GPL 2.0 SPDX tag, with would cause an ambiguity about the
      licensing model.
      
      Solve this by explicitly mentioning that the dual licensing
      is between GPL 2.0 and GFDL and correcting the text.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
      e7121ab4
    • Mauro Carvalho Chehab's avatar
      Merge tag 'v4.20-rc7' into patchwork · 4bd257d8
      Mauro Carvalho Chehab authored
      Linux 4.20-rc7
      
      * tag 'v4.20-rc7': (403 commits)
        Linux 4.20-rc7
        scripts/spdxcheck.py: always open files in binary mode
        checkstack.pl: fix for aarch64
        userfaultfd: check VM_MAYWRITE was set after verifying the uffd is registered
        fs/iomap.c: get/put the page in iomap_page_create/release()
        hugetlbfs: call VM_BUG_ON_PAGE earlier in free_huge_page()
        memblock: annotate memblock_is_reserved() with __init_memblock
        psi: fix reference to kernel commandline enable
        arch/sh/include/asm/io.h: provide prototypes for PCI I/O mapping in asm/io.h
        mm/sparse: add common helper to mark all memblocks present
        mm: introduce common STRUCT_PAGE_MAX_SHIFT define
        alpha: fix hang caused by the bootmem removal
        XArray: Fix xa_alloc when id exceeds max
        drm/vmwgfx: Protect from excessive execbuf kernel memory allocations v3
        MAINTAINERS: Daniel for drm co-maintainer
        drm/amdgpu: drop fclk/gfxclk ratio setting
        IB/core: Fix oops in netdev_next_upper_dev_rcu()
        dm thin: bump target version
        drm/vmwgfx: remove redundant return ret statement
        drm/i915: Flush GPU relocs harder for gen3
        ...
      4bd257d8
  3. 16 Dec, 2018 1 commit
  4. 14 Dec, 2018 20 commits
  5. 13 Dec, 2018 13 commits
  6. 12 Dec, 2018 2 commits