1. 13 10月, 2007 9 次提交
  2. 11 10月, 2007 5 次提交
  3. 24 9月, 2007 1 次提交
  4. 01 9月, 2007 1 次提交
  5. 12 8月, 2007 1 次提交
    • A
      update checkpatch.pl to version 0.09 · 22f2a2ef
      Andy Whitcroft 提交于
      This version brings a number of new checks, and a number of bug
      fixes.  Of note:
      
        - checks for spacing on round and square bracket combinations
        - loosening of the single statement brace checks, to allow
          them when they contain comments or where other blocks in a
          compound statement have them.
        - parks the multple declaration support
        - allows architecture defines in architecture specific headers
      
      Andy Whitcroft (21):
            Version: 0.09
            loosen single statement brace checks
            fix up multiple declaration to avoid function arguments
            add some function space parenthesis check exceptions
            handle EXPORT_'s with parentheses in their names
            clean up some warnings in multi-line macro bracketing support
            park the multiple declaration checks
            make block brace checks count comments as a statement
            __volatile__ and __extension__ are not functions
            allow architecture specific defined within architecture includes
            check spacing on square brackets
            check spacing on parentheses
            ensure we apply checks to the part before start comment
            check #ifdef conditional spacing
            handle __init_refok and __must_check
            add noinline to inline checks
            prevent email addresses from tripping spacing checks
            handle typed initialiser spacing
            handle line contination as end of line
            add bool to the type matcher
            refine EXPORT_SYMBOL checks to handle pointers
      Signed-off-by: NAndy Whitcroft <apw@shadowen.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      22f2a2ef
  6. 01 8月, 2007 1 次提交
  7. 26 7月, 2007 8 次提交
  8. 24 7月, 2007 1 次提交
  9. 20 7月, 2007 6 次提交
  10. 18 7月, 2007 1 次提交
    • T
      kallsyms: make KSYM_NAME_LEN include space for trailing '\0' · 9281acea
      Tejun Heo 提交于
      KSYM_NAME_LEN is peculiar in that it does not include the space for the
      trailing '\0', forcing all users to use KSYM_NAME_LEN + 1 when allocating
      buffer.  This is nonsense and error-prone.  Moreover, when the caller
      forgets that it's very likely to subtly bite back by corrupting the stack
      because the last position of the buffer is always cleared to zero.
      
      This patch increments KSYM_NAME_LEN by one and updates code accordingly.
      
      * off-by-one bug in asm-powerpc/kprobes.h::kprobe_lookup_name() macro
        is fixed.
      
      * Where MODULE_NAME_LEN and KSYM_NAME_LEN were used together,
        MODULE_NAME_LEN was treated as if it didn't include space for the
        trailing '\0'.  Fix it.
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Acked-by: NPaulo Marques <pmarques@grupopie.com>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      9281acea
  11. 17 7月, 2007 6 次提交