1. 03 Oct, 2018 1 commit
  2. 06 Mar, 2018 2 commits
  3. 19 Dec, 2017 1 commit
  4. 18 Oct, 2017 1 commit
    • Kees Cook's avatar
      staging: rtl8712: Convert timers to use timer_setup() · 36aeebd4
      Kees Cook authored
      In preparation for unconditionally passing the struct timer_list pointer to
      all timer callbacks, switch to using the new timer_setup() and from_timer()
      to pass the timer pointer explicitly.
      
      Cc: Larry Finger <Larry.Finger@lwfinger.net>
      Cc: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Tejaswini Poluri <tejaswinipoluri3@gmail.com>
      Cc: Scott Matheina <scott@matheina.com>
      Cc: Varsha Rao <rvarsha016@gmail.com>
      Cc: Julia Lawall <julia.lawall@lip6.fr>
      Cc: Aleksey Kurbatov <alkbt@yandex.ru>
      Cc: Vijai Kumar K <vijaikumar.kanagarajan@gmail.com>
      Cc: Wei Yongjun <weiyongjun1@huawei.com>
      Cc: "Raphaël Beamonte" <raphael.beamonte@gmail.com>
      Cc: Jannik Becher <becher.jannik@gmail.com>
      Cc: Joseph Wright <rjosephwright@gmail.com>
      Cc: devel@driverdev.osuosl.org
      Signed-off-by: default avatarKees Cook <keescook@chromium.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      36aeebd4
  5. 17 Sep, 2017 1 commit
    • Liam Ryan's avatar
      staging: rtl8712: Fix unbalanced braces around else statement · a7e58591
      Liam Ryan authored
      Fix checkpath-reported unbalanced braces in the following areas
      
      221: FILE: drivers/staging/rtl8712/hal_init.c:221:
      392: FILE: drivers/staging/rtl8712/os_intfs.c:392:
      363: FILE: drivers/staging/rtl8712/rtl8712_cmd.c:363:
      889: FILE: drivers/staging/rtl8712/rtl8712_recv.c:889:
      902: FILE: drivers/staging/rtl8712/rtl871x_cmd.c:902:
      84: FILE: drivers/staging/rtl8712/rtl871x_ioctl_set.c:84:
      580: FILE: drivers/staging/rtl8712/rtl871x_mlme.c:580:
      593: FILE: drivers/staging/rtl8712/usb_intf.c:593:
      Signed-off-by: default avatarLiam Ryan <liamryandev@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      a7e58591
  6. 15 May, 2017 1 commit
  7. 06 Mar, 2017 4 commits
  8. 02 Sep, 2016 1 commit
  9. 21 Aug, 2016 2 commits
  10. 28 Mar, 2016 1 commit
  11. 15 Feb, 2016 1 commit
  12. 25 Oct, 2015 2 commits
  13. 17 Oct, 2015 1 commit
  14. 08 Oct, 2015 1 commit
  15. 31 May, 2015 4 commits
  16. 03 Apr, 2015 1 commit
  17. 16 Mar, 2015 1 commit
  18. 06 Mar, 2015 1 commit
    • Vaishali Thakkar's avatar
      Staging: rtl8712: Eliminate use of _init_timer · e922df7d
      Vaishali Thakkar authored
      This patch introduces the use of API function setup_timer
      instead of driver specific function _init_timer as it is
      the preferred and standard way to setup and set the timer.
      To be compatible with the change, argument types of
      referenced functions are changed. Also, definition of
      function _init_timer is removed as it is no longer needed
      after this change.
      
      This is done using Coccinelle and semantic patch used for
      this is as follows:
      
      @@ expression x, y; identifier a, b;@@
      
      - _init_timer (&x, y, a, b);
      + setup_timer (&x, a, (unsigned long)b);
      Signed-off-by: default avatarVaishali Thakkar <vthakkar1994@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      e922df7d
  19. 02 Mar, 2015 1 commit
    • Vaishali Thakkar's avatar
      Staging: rtl8712: Eliminate use of _set_timer · c703c750
      Vaishali Thakkar authored
      This patch introduces the use of API function mod_timer
      instead of driver specific function _set_timer as it is
      a more efficient and standard way to update the expire
      field of an active timer. Also, definition of function
      _set_timer is removed as it is no longer needed after
      this change.
      
      Here, these cases are handled using Coccinelle and
      semantic patch used for this is as follows:
      
      @@ expression x; expression y;@@
      
      - _set_timer (&x, y);
      + mod_timer (&x, jiffies + msecs_to_jiffies (y));
      Signed-off-by: default avatarVaishali Thakkar <vthakkar1994@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      c703c750
  20. 19 Jun, 2014 1 commit
  21. 06 Mar, 2014 1 commit
  22. 17 Dec, 2013 1 commit
  23. 03 Oct, 2013 1 commit
  24. 03 Jul, 2013 1 commit
  25. 12 Jan, 2013 1 commit
  26. 26 Sep, 2012 1 commit
  27. 09 May, 2012 1 commit
  28. 01 Mar, 2012 2 commits
  29. 09 Feb, 2012 1 commit
    • Larry Finger's avatar
      staging: r8712u: Simplify semaphores · 86587b67
      Larry Finger authored
      I am preparing to convert this driver from semaphore to mutex locking,
      The first step has been to eliminate a number of semaphores that were
      initialized but never used, and one whose only use was a single "up"
      after initialization. A total of 9 semaphores were removed in this process.
      
      One other change was to remove some inline semaphore routines that were
      unused.
      
      In addition, several cases had the following structure:
      
      down()
      if () {
         ...
      }
      up()
      
      The locking overhead was reduced by moving the up/down inside the if
      block.
      Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      86587b67
  30. 08 Feb, 2012 1 commit