1. 16 5月, 2018 3 次提交
  2. 15 5月, 2018 1 次提交
  3. 14 5月, 2018 10 次提交
  4. 12 5月, 2018 2 次提交
    • M
      media: dvb_frontend: cleanup some coding style errors · 09c2cc98
      Mauro Carvalho Chehab 提交于
      This is a core media file... it shoudn't have so many coding
      style issues! The last patch ended by being submitted with
      an error like that, very likely due to some cut and paste
      issue.
      
      Maybe it is time to clean it up. Do it with the auto
      fix logic:
      
       ./scripts/checkpatch.pl -f drivers/media/dvb-core/dvb_frontend.c --strict --fix-inplace
      
      Then manually fix the errors introduced by it.
      Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
      09c2cc98
    • M
      media: dvbdev: add a mutex protecting the "mdev" pointer · f17c403a
      Max Kellermann 提交于
      During destruction, a race condition in
      dvb_media_controller_disable_source() can cause a kernel crash,
      because the "mdev" pointer has been read successfully while another
      task executes dvb_usb_media_device_unregister(), which destroys the
      object.  Example for such a crash:
      
          general protection fault: 0000 [#1] SMP
          CPU: 1 PID: 301 Comm: vdr Not tainted 4.8.1-nuc+ #102
          [142B blob data]
          task: ffff8802301f2040 task.stack: ffff880233728000
          RIP: 0010:[<ffffffff816c296b>]  [<ffffffff816c296b>] dvb_frontend_release+0xcb/0x120
          RSP: 0018:ffff88023372bdd8  EFLAGS: 00010202
          RAX: 001fd55c000000da RBX: ffff880236bad810 RCX: 0000000000000000
          RDX: ffff880235bd81f0 RSI: 0000000000000246 RDI: ffff880235bd81e8
          RBP: ffff88023372be00 R08: 0000000000000000 R09: 0000000000000000
          R10: 0000000000000000 R11: ffff88022f009910 R12: 0000000000000000
          R13: ffff880235a21a80 R14: ffff880235bd8000 R15: ffff880235bb8a78
          FS:  0000000000000000(0000) GS:ffff88023fd00000(0000) knlGS:0000000000000000
          CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
          CR2: 00007f96edd69818 CR3: 0000000002406000 CR4: 00000000001006e0
          Stack:
           ffff88022f009900 0000000000000008 ffff880235bb8a78 ffff8802344fbb20
           ffff880236437b40 ffff88023372be48 ffffffff8117a81e ffff880235bb8a78
           ffff88022f009910 ffff8802335a7400 ffff8802301f2040 ffff88022f009900
          Call Trace:
           [<ffffffff8117a81e>] __fput+0xde/0x1d0
           [<ffffffff8117a949>] ____fput+0x9/0x10
           [<ffffffff810a9fce>] task_work_run+0x7e/0xa0
           [<ffffffff81094bab>] do_exit+0x27b/0xa50
           [<ffffffff810407e3>] ? __do_page_fault+0x1c3/0x430
           [<ffffffff81095402>] do_group_exit+0x42/0xb0
           [<ffffffff8109547f>] SyS_exit_group+0xf/0x10
           [<ffffffff8108bedb>] entry_SYSCALL_64_fastpath+0x13/0x8f
          Code: 31 c9 49 8d be e8 01 00 00 ba 01 00 00 00 be 03 00 00 00 e8 68 2d a0 ff 48 8b 83 10 03 00 00 48 8b 80 88 00 00 00 48 85 c0 74 12 <48> 8b 80 88 02 00 00 48 85 c0 74 06 49 8b 7d
          RIP  [<ffffffff816c296b>] dvb_frontend_release+0xcb/0x120
      
      [mchehab+samsung@kernel.org: fix a Coding Style issue]
      Signed-off-by: NMax Kellermann <max.kellermann@gmail.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
      f17c403a
  5. 11 5月, 2018 21 次提交
  6. 10 5月, 2018 3 次提交
    • M
      media: update/fix my e-mail on some places · 901b9dd5
      Mauro Carvalho Chehab 提交于
      There are two places pointing to an unexisting "m.chehab@kernel.org"
      email. I never had such email, so, I'm unsure how it ends there.
      Anyway, it is plain wrong.
      
      While here, use my canonical e-mail on a bunch of places that
      are pointing to another e-mail. The idea is that, from now on,
      all places will be pointing to the same SMTP server.
      Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
      901b9dd5
    • M
      Merge tag 'v4.17-rc4' into patchwork · 71db1cd7
      Mauro Carvalho Chehab 提交于
      Linux 4.17-rc4
      
      * tag 'v4.17-rc4': (920 commits)
        Linux 4.17-rc4
        KVM: x86: remove APIC Timer periodic/oneshot spikes
        genksyms: fix typo in parse.tab.{c,h} generation rules
        kbuild: replace hardcoded bison in cmd_bison_h with $(YACC)
        gcc-plugins: fix build condition of SANCOV plugin
        MAINTAINERS: Update Kbuild entry with a few paths
        Revert "usb: host: ehci: Use dma_pool_zalloc()"
        platform/x86: Kconfig: Fix dell-laptop dependency chain.
        platform/x86: asus-wireless: Fix NULL pointer dereference
        arm64: vgic-v2: Fix proxying of cpuif access
        KVM: arm/arm64: vgic_init: Cleanup reference to process_maintenance
        KVM: arm64: Fix order of vcpu_write_sys_reg() arguments
        MAINTAINERS & files: Canonize the e-mails I use at files
        media: imx-media-csi: Fix inconsistent IS_ERR and PTR_ERR
        tools: power/acpi, revert to LD = gcc
        bdi: Fix oops in wb_workfn()
        RDMA/cma: Do not query GID during QP state transition to RTR
        IB/mlx4: Fix integer overflow when calculating optimal MTT size
        IB/hfi1: Fix memory leak in exception path in get_irq_affinity()
        IB/{hfi1, rdmavt}: Fix memory leak in hfi1_alloc_devdata() upon failure
        ...
      71db1cd7
    • M
      media: dvbsky: use just one mutex for serializing device R/W ops · 7d95fb74
      Mauro Carvalho Chehab 提交于
      Right now, there are two mutexes serializing r/w ops: one "generic"
      and another one specifically for stream on/off.
      
      Clean it a little bit, getting rid of one of the mutexes.
      Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
      7d95fb74