1. 21 9月, 2016 5 次提交
  2. 15 8月, 2016 2 次提交
  3. 21 7月, 2016 1 次提交
  4. 26 1月, 2016 1 次提交
  5. 12 1月, 2016 1 次提交
  6. 11 7月, 2015 1 次提交
  7. 08 5月, 2015 1 次提交
  8. 17 4月, 2015 1 次提交
  9. 28 2月, 2015 2 次提交
  10. 29 1月, 2015 1 次提交
  11. 02 12月, 2014 1 次提交
    • D
      CodingStyle: add some more error handling guidelines · ea040360
      Dan Carpenter 提交于
      I added a paragraph on choosing label names, and updated the example
      code to use a better label name.  I also cleaned up the example code to
      more modern style by moving the allocation out of the initializer and
      changing the NULL check.
      
      Perhaps the most common type of error handling bug in the kernel is "one
      err bugs".  CodingStyle already says that we should "avoid nesting" by
      using error labels and one err style error handling tends to have
      multiple indent levels, so this was already bad style.  But I've added a
      new paragraph explaining how to avoid one err bugs by using multiple
      error labels which is, hopefully, more clear.
      Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com>
      Acked-by: NJulia Lawall <julia.lawall@lip6.fr>
      [jc: added GFP_KERNEL to kmalloc() call]
      Signed-off-by: NJonathan Corbet <corbet@lwn.net>
      ea040360
  12. 04 11月, 2014 1 次提交
  13. 26 8月, 2014 1 次提交
  14. 05 6月, 2014 1 次提交
    • D
      Documentation: expand/clarify debug documentation · 6e099f55
      Dan Streetman 提交于
      The pr_debug() and related debug print macros all differ from the normal
      pr_XXX() macros, in that the normal ones print unconditionally, while
      the debug macros are compiled out unless DEBUG is defined or
      CONFIG_DYNAMIC_DEBUG is set.  This isn't obvious, and the only way to
      find this out is either to review the actual printk.h code or to read
      CodingStyle, and the message there doesn't highlight the fact.
      
      Change Documentation/CodingStyle to clearly indicate that pr_debug() and
      related debug printing macros behave differently than all other pr_XXX()
      macros, and attempt to clarify when and where the different debug
      printing methods might be used.
      
      Add short comment to printk.h above the pr_XXX() macros indicating that
      while these macros print unconditionally, pr_debug() does not.
      Signed-off-by: NDan Streetman <ddstreet@ieee.org>
      Cc: Joe Perches <joe@perches.com>
      Cc: Fabian Frederick <fabf@skynet.be>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      6e099f55
  15. 04 7月, 2013 1 次提交
  16. 12 1月, 2013 1 次提交
    • K
      Documentation: remove depends on CONFIG_EXPERIMENTAL · 0335cb46
      Kees Cook 提交于
      The CONFIG_EXPERIMENTAL config item has not carried much meaning for a
      while now and is almost always enabled by default. As agreed during the
      Linux kernel summit, remove it from any "depends on" lines in Kconfigs.
      
      CC: Rob Landley <rob@landley.net>
      CC: Jiri Kosina <jkosina@suse.cz>
      CC: Masanari Iida <standby24x7@gmail.com>
      CC: Jason Wessel <jason.wessel@windriver.com>
      CC: Richard L Maliszewski <richard.l.maliszewski@intel.com>
      CC: Gang Wei <gang.wei@intel.com>
      CC: Shane Wang <shane.wang@intel.com>
      CC: Harry Wei <harryxiyou@gmail.com>
      Signed-off-by: NKees Cook <keescook@chromium.org>
      Acked-by: NJason Wessel <jason.wessel@windriver.com>
      0335cb46
  17. 06 10月, 2012 1 次提交
  18. 01 6月, 2012 1 次提交
  19. 31 3月, 2012 1 次提交
  20. 05 11月, 2011 1 次提交
  21. 07 8月, 2011 1 次提交
  22. 07 7月, 2011 1 次提交
  23. 23 3月, 2011 1 次提交
  24. 17 3月, 2011 1 次提交
  25. 13 6月, 2009 1 次提交
  26. 30 1月, 2009 2 次提交
  27. 26 7月, 2008 1 次提交
  28. 17 10月, 2007 1 次提交
  29. 19 7月, 2007 1 次提交
  30. 17 7月, 2007 2 次提交
  31. 24 5月, 2007 1 次提交
  32. 09 5月, 2007 1 次提交