1. 12 12月, 2017 1 次提交
  2. 26 10月, 2017 1 次提交
  3. 10 10月, 2017 1 次提交
    • K
      IB/ipoib: Convert timers to use timer_setup() · 6d290d69
      Kees Cook 提交于
      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: Doug Ledford <dledford@redhat.com>
      Cc: Sean Hefty <sean.hefty@intel.com>
      Cc: Hal Rosenstock <hal.rosenstock@gmail.com>
      Cc: Leon Romanovsky <leon@kernel.org>
      Cc: Alex Vesker <valex@mellanox.com>
      Cc: Erez Shitrit <erezsh@mellanox.com>
      Cc: Zhu Yanjun <yanjun.zhu@oracle.com>
      Cc: Dasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
      Cc: Paolo Abeni <pabeni@redhat.com>
      Cc: Ira Weiny <ira.weiny@intel.com>
      Cc: Yuval Shaia <yuval.shaia@oracle.com>
      Cc: linux-rdma@vger.kernel.org
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Signed-off-by: NKees Cook <keescook@chromium.org>
      Reviewed-by: NLeon Romanovsky <leonro@mellanox.com>
      Signed-off-by: NDoug Ledford <dledford@redhat.com>
      6d290d69
  4. 27 9月, 2017 2 次提交
  5. 25 9月, 2017 1 次提交
  6. 25 8月, 2017 3 次提交
  7. 24 7月, 2017 1 次提交
  8. 23 7月, 2017 5 次提交
  9. 20 7月, 2017 1 次提交
  10. 18 7月, 2017 2 次提交
  11. 06 7月, 2017 1 次提交
  12. 16 6月, 2017 1 次提交
    • J
      networking: make skb_push & __skb_push return void pointers · d58ff351
      Johannes Berg 提交于
      It seems like a historic accident that these return unsigned char *,
      and in many places that means casts are required, more often than not.
      
      Make these functions return void * and remove all the casts across
      the tree, adding a (u8 *) cast only where the unsigned char pointer
      was used directly, all done with the following spatch:
      
          @@
          expression SKB, LEN;
          typedef u8;
          identifier fn = { skb_push, __skb_push, skb_push_rcsum };
          @@
          - *(fn(SKB, LEN))
          + *(u8 *)fn(SKB, LEN)
      
          @@
          expression E, SKB, LEN;
          identifier fn = { skb_push, __skb_push, skb_push_rcsum };
          type T;
          @@
          - E = ((T *)(fn(SKB, LEN)))
          + E = fn(SKB, LEN)
      
          @@
          expression SKB, LEN;
          identifier fn = { skb_push, __skb_push, skb_push_rcsum };
          @@
          - fn(SKB, LEN)[0]
          + *(u8 *)fn(SKB, LEN)
      
      Note that the last part there converts from push(...)[0] to the
      more idiomatic *(u8 *)push(...).
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d58ff351
  13. 15 6月, 2017 3 次提交
  14. 02 6月, 2017 1 次提交
  15. 02 5月, 2017 5 次提交
  16. 29 4月, 2017 1 次提交
  17. 21 4月, 2017 4 次提交
  18. 06 4月, 2017 1 次提交
  19. 15 2月, 2017 1 次提交
  20. 25 1月, 2017 3 次提交
  21. 13 1月, 2017 1 次提交