1. 31 5月, 2019 1 次提交
  2. 30 5月, 2019 1 次提交
  3. 21 5月, 2019 1 次提交
  4. 16 4月, 2019 3 次提交
  5. 13 4月, 2019 1 次提交
  6. 28 3月, 2019 1 次提交
  7. 27 2月, 2019 2 次提交
  8. 06 2月, 2019 1 次提交
  9. 29 1月, 2019 1 次提交
  10. 12 1月, 2019 1 次提交
  11. 19 12月, 2018 1 次提交
  12. 24 11月, 2018 1 次提交
  13. 22 11月, 2018 1 次提交
    • A
      scsi: cxgb4i: fix thermal configuration dependencies · 8d0bb86e
      Arnd Bergmann 提交于
      I fixed a bug by adding a dependency in the network driver, but that fix
      caused a related bug in the SCSI driver:
      
      WARNING: unmet direct dependencies detected for CHELSIO_T4
        Depends on [m]: NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_CHELSIO [=y] && PCI [=y] && (IPV6 [=y] || IPV6 [=y]=n) && (THERMAL [=m] || !THERMAL [=m])
        Selected by [y]:
        - SCSI_CXGB4_ISCSI [=y] && SCSI_LOWLEVEL [=y] && SCSI [=y] && PCI [=y] && INET [=y] && (IPV6 [=y] || IPV6 [=y]=n)
      drivers/net/ethernet/chelsio/cxgb4/cxgb4_thermal.o: In function `cxgb4_thermal_init':
      cxgb4_thermal.c:(.text+0x158): undefined reference to `thermal_zone_device_register'
      drivers/net/ethernet/chelsio/cxgb4/cxgb4_thermal.o: In function `cxgb4_thermal_remove':
      cxgb4_thermal.c:(.text+0x1d8): undefined reference to `thermal_zone_device_unregister'
      /git/arm-soc/Makefile:1042: recipe for target 'vmlinux' failed
      
      The same dependency needs to be propagated here to make it work correctly
      with CONFIG_THERMAL=m and SCSI_CXGB4_ISCSI=y. That change by itself causes
      another problem with a circular dependency, as we use 'select NETDEVICES'.
      This is something we really should not do anyway, as a driver symbol should
      never select another major subsystem, so let's turn that into a 'depends
      on'. I don't see any downsides of that, as NETDEVICES is only disabled in
      rather obscure cases that are not relevant to the users of cxgb4i.
      
      Fixes: e70a57fa ("cxgb4: fix thermal configuration dependencies")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
      8d0bb86e
  14. 17 10月, 2018 1 次提交
  15. 12 9月, 2018 1 次提交
  16. 11 9月, 2018 1 次提交
  17. 10 4月, 2018 1 次提交
  18. 09 1月, 2018 1 次提交
  19. 22 11月, 2017 1 次提交
    • K
      treewide: Remove TIMER_FUNC_TYPE and TIMER_DATA_TYPE casts · 841b86f3
      Kees Cook 提交于
      With all callbacks converted, and the timer callback prototype
      switched over, the TIMER_FUNC_TYPE cast is no longer needed,
      so remove it. Conversion was done with the following scripts:
      
          perl -pi -e 's|\(TIMER_FUNC_TYPE\)||g' \
              $(git grep TIMER_FUNC_TYPE | cut -d: -f1 | sort -u)
      
          perl -pi -e 's|\(TIMER_DATA_TYPE\)||g' \
              $(git grep TIMER_DATA_TYPE | cut -d: -f1 | sort -u)
      
      The now unused macros are also dropped from include/linux/timer.h.
      Signed-off-by: NKees Cook <keescook@chromium.org>
      841b86f3
  20. 02 11月, 2017 1 次提交
  21. 12 10月, 2017 3 次提交
  22. 16 9月, 2017 1 次提交
  23. 17 8月, 2017 1 次提交
  24. 11 8月, 2017 1 次提交
  25. 25 7月, 2017 1 次提交
  26. 27 6月, 2017 1 次提交
  27. 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
  28. 08 6月, 2017 1 次提交
  29. 03 6月, 2017 1 次提交
  30. 24 5月, 2017 1 次提交
  31. 19 4月, 2017 1 次提交
  32. 07 2月, 2017 2 次提交
  33. 14 1月, 2017 1 次提交
    • P
      locking/atomic, kref: Add kref_read() · 2c935bc5
      Peter Zijlstra 提交于
      Since we need to change the implementation, stop exposing internals.
      
      Provide kref_read() to read the current reference count; typically
      used for debug messages.
      
      Kills two anti-patterns:
      
      	atomic_read(&kref->refcount)
      	kref->refcount.counter
      Signed-off-by: NPeter Zijlstra (Intel) <peterz@infradead.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: linux-kernel@vger.kernel.org
      Signed-off-by: NIngo Molnar <mingo@kernel.org>
      2c935bc5
  34. 15 12月, 2016 1 次提交