1. 03 9月, 2014 1 次提交
  2. 22 7月, 2014 4 次提交
  3. 16 7月, 2014 1 次提交
    • T
      net: set name_assign_type in alloc_netdev() · c835a677
      Tom Gundersen 提交于
      Extend alloc_netdev{,_mq{,s}}() to take name_assign_type as argument, and convert
      all users to pass NET_NAME_UNKNOWN.
      
      Coccinelle patch:
      
      @@
      expression sizeof_priv, name, setup, txqs, rxqs, count;
      @@
      
      (
      -alloc_netdev_mqs(sizeof_priv, name, setup, txqs, rxqs)
      +alloc_netdev_mqs(sizeof_priv, name, NET_NAME_UNKNOWN, setup, txqs, rxqs)
      |
      -alloc_netdev_mq(sizeof_priv, name, setup, count)
      +alloc_netdev_mq(sizeof_priv, name, NET_NAME_UNKNOWN, setup, count)
      |
      -alloc_netdev(sizeof_priv, name, setup)
      +alloc_netdev(sizeof_priv, name, NET_NAME_UNKNOWN, setup)
      )
      
      v9: move comments here from the wrong commit
      Signed-off-by: NTom Gundersen <teg@jklm.no>
      Reviewed-by: NDavid Herrmann <dh.herrmann@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c835a677
  4. 07 6月, 2014 1 次提交
  5. 31 5月, 2014 2 次提交
  6. 20 5月, 2014 1 次提交
  7. 14 5月, 2014 1 次提交
  8. 13 5月, 2014 1 次提交
  9. 29 4月, 2014 7 次提交
  10. 01 4月, 2014 1 次提交
  11. 20 3月, 2014 3 次提交
  12. 26 2月, 2014 1 次提交
  13. 21 2月, 2014 1 次提交
    • S
      s390: improve debug feature usage · f7e1e65d
      Sebastian Ott 提交于
      The maximum usable buffer size of the s390 debug feature (when using
      the sprintf_view) is 11 * sizeof(long) (1 pointer for the format
      string + 10 arguments). When a larger buffer size is specified the
      additional memory is unused and wasted per debug entry. So reducing
      the buffer size to its maximum (or to the actual buffer size used)
      will make more precious debug feature space usable.
      
      For pci_msg, chsc_msg, and cio_crw we use the additional usable dbf
      space to reduce the number of allocated pages.
      Signed-off-by: NSebastian Ott <sebott@linux.vnet.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      f7e1e65d
  14. 29 1月, 2014 1 次提交
  15. 16 1月, 2014 2 次提交
  16. 18 12月, 2013 2 次提交
  17. 07 11月, 2013 1 次提交
  18. 24 10月, 2013 1 次提交
  19. 22 8月, 2013 1 次提交
  20. 04 7月, 2013 1 次提交
    • K
      clean up scary strncpy(dst, src, strlen(src)) uses · 096a8aac
      Kees Cook 提交于
      Fix various weird constructions of strncpy(dst, src, strlen(src)).
      
      Length limits should be about the space available in the destination,
      not repurposed as a method to either always include or always exclude a
      trailing NULL byte.  Either the NULL should always be copied (using
      strlcpy), or it should not be copied (using something like memcpy).
      Readable code should not depend on the weird behavior of strncpy when it
      hits the length limit.  Better to avoid the anti-pattern entirely.
      
      [akpm@linux-foundation.org: revert getdelays.c part due to missing bsd/string.h]
      Signed-off-by: NKees Cook <keescook@chromium.org>
      Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>	[staging]
      Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>	[acpi]
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
      Cc: Ursula Braun <ursula.braun@de.ibm.com>
      Cc: Frank Blaschka <blaschka@linux.vnet.ibm.com>
      Cc: Richard Weinberger <richard@nod.at>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      096a8aac
  21. 27 6月, 2013 1 次提交
  22. 26 6月, 2013 5 次提交