1. 18 Oct, 2017 4 commits
  2. 17 Oct, 2017 2 commits
  3. 16 Oct, 2017 1 commit
  4. 13 Oct, 2017 25 commits
  5. 11 Oct, 2017 1 commit
    • Kalle Valo's avatar
      Merge tag 'iwlwifi-next-for-kalle-2017-10-06-2' of... · 20d879e7
      Kalle Valo authored
      Merge tag 'iwlwifi-next-for-kalle-2017-10-06-2' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-next
      
      First batch of iwlwifi patches for 4.15 (v2)
      
      * Cleanups: - remove an unused value that we read from the NVM;
                  - remove link quality measurement code that was never used;
      * One FW command API update;
      * A fix and an addition for PCI devices for the A000 family;
      * Tiny refactor of ref/unref code used by runtime-PM;
      * Some debugging improvements;
      * Implementation of a more flexible way to define command queue sizes;
      * ACPI code refactoring;
      * Some coding-style fixes;
      * Avoid redundant command to the firmware;
      * Add a struct with the format of one FW command;
      * Change an error log to a warning when the FW API is not aligned with
        the driver (important during development);
      * Change a WARN_ON to WARN_ONCE to make it more descriptive and less
        noisy (i.e. no repeated warnings on a firmware triggered error);
      * Dump PCI registers when an error occurs, to make it easier to debug;
      20d879e7
  6. 10 Oct, 2017 3 commits
    • Karthik Ananthapadmanabha's avatar
      mwifiex: Random MAC address during scanning · 073a435d
      Karthik Ananthapadmanabha authored
      Driver will advertise RANDOM_MAC support only if the device
      supports this feature.
      Signed-off-by: default avatarKarthik Ananthapadmanabha <karthida@marvell.com>
      Signed-off-by: default avatarGanapathi Bhat <gbhat@marvell.com>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      073a435d
    • Dan Carpenter's avatar
      rtlwifi: silence underflow warning · 64e79426
      Dan Carpenter authored
      My static checker complains that we have an upper bound but no lower
      bound.  I suspect neither are really required but it doesn't hurt to add
      a check for negatives.
      Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      64e79426
    • Andrey Konovalov's avatar
      p54: don't unregister leds when they are not initialized · fc09785d
      Andrey Konovalov authored
      ieee80211_register_hw() in p54_register_common() may fail and leds won't
      get initialized. Currently p54_unregister_common() doesn't check that and
      always calls p54_unregister_leds(). The fix is to check priv->registered
      flag before calling p54_unregister_leds().
      
      Found by syzkaller.
      
      INFO: trying to register non-static key.
      the code is fine but needs lockdep annotation.
      turning off the locking correctness validator.
      CPU: 1 PID: 1404 Comm: kworker/1:1 Not tainted
      4.14.0-rc1-42251-gebb2c243-dirty #205
      Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011
      Workqueue: usb_hub_wq hub_event
      Call Trace:
       __dump_stack lib/dump_stack.c:16
       dump_stack+0x292/0x395 lib/dump_stack.c:52
       register_lock_class+0x6c4/0x1a00 kernel/locking/lockdep.c:769
       __lock_acquire+0x27e/0x4550 kernel/locking/lockdep.c:3385
       lock_acquire+0x259/0x620 kernel/locking/lockdep.c:4002
       flush_work+0xf0/0x8c0 kernel/workqueue.c:2886
       __cancel_work_timer+0x51d/0x870 kernel/workqueue.c:2961
       cancel_delayed_work_sync+0x1f/0x30 kernel/workqueue.c:3081
       p54_unregister_leds+0x6c/0xc0 drivers/net/wireless/intersil/p54/led.c:160
       p54_unregister_common+0x3d/0xb0 drivers/net/wireless/intersil/p54/main.c:856
       p54u_disconnect+0x86/0x120 drivers/net/wireless/intersil/p54/p54usb.c:1073
       usb_unbind_interface+0x21c/0xa90 drivers/usb/core/driver.c:423
       __device_release_driver drivers/base/dd.c:861
       device_release_driver_internal+0x4f4/0x5c0 drivers/base/dd.c:893
       device_release_driver+0x1e/0x30 drivers/base/dd.c:918
       bus_remove_device+0x2f4/0x4b0 drivers/base/bus.c:565
       device_del+0x5c4/0xab0 drivers/base/core.c:1985
       usb_disable_device+0x1e9/0x680 drivers/usb/core/message.c:1170
       usb_disconnect+0x260/0x7a0 drivers/usb/core/hub.c:2124
       hub_port_connect drivers/usb/core/hub.c:4754
       hub_port_connect_change drivers/usb/core/hub.c:5009
       port_event drivers/usb/core/hub.c:5115
       hub_event+0x1318/0x3740 drivers/usb/core/hub.c:5195
       process_one_work+0xc7f/0x1db0 kernel/workqueue.c:2119
       process_scheduled_works kernel/workqueue.c:2179
       worker_thread+0xb2b/0x1850 kernel/workqueue.c:2255
       kthread+0x3a1/0x470 kernel/kthread.c:231
       ret_from_fork+0x2a/0x40 arch/x86/entry/entry_64.S:431
      
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarAndrey Konovalov <andreyknvl@google.com>
      Acked-by: default avatarChristian Lamparter <chunkeey@googlemail.com>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      fc09785d
  7. 09 Oct, 2017 1 commit
    • Kalle Valo's avatar
      Merge tag 'iwlwifi-for-kalle-2017-10-06' of... · a6127b44
      Kalle Valo authored
      Merge tag 'iwlwifi-for-kalle-2017-10-06' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-fixes
      
      Second set of iwlwifi fixes for 4.14
      
      * Fix support for 3168 device series;
      * Fix a potential crash when using FW debugging recording;
      * Improve channel flags parsing to avoid warnings on too long traces;
      * Return -ENODATA when the temperature is not available, since the
        -EIO we were returning was causing fatal errors in userspace;
      * Avoid printing too many messages in dmesg when using monitor mode,
        since this can become very noisy and completely flood the logs;
      a6127b44
  8. 06 Oct, 2017 3 commits