1. 13 11月, 2007 2 次提交
  2. 26 10月, 2007 3 次提交
  3. 23 10月, 2007 1 次提交
  4. 21 10月, 2007 2 次提交
  5. 20 10月, 2007 3 次提交
  6. 19 10月, 2007 1 次提交
    • A
      update checkpatch.pl to version 0.11 · 6c72ffaa
      Andy Whitcroft 提交于
      This version brings a more cautious checkpatch.pl by default.  The more
      subjective checks are only applied with the --strict option.  It also
      brings the usual slew of corrections for false positives.  Of note:
      
        - new tree detection, the source tree will be found via the executable
        - a major revamp of the unary detection to make it more parser like
        - a new summary at the bottom of the report
        - --strict option for subjective checks
        - --file to enable checking on complete files
        - support for use in emacs "compile" window
      
      Andy Whitcroft (27):
            Version: 0.11
            fix up cat_vet for the case where there are no control characters
            any cast to a pointer introduces a type
            cpp unary operator detection needs to float
            attributes are also valid in type definitions
            sizeof may be a bareword and makes its argument unary
            unary checks for #ifdef et al need to find end of line
            add new --file mode to handle raw source files
            add --strict/--subjective which enables the subjective tests
            add some additional standard type suffixes
            cpp #elif is also a unary prefix
            case is not a function name
            widen asm volatile exceptions
            __kprobes is a type attribute
            typeof is a unary operator
            function open parenthesis checks should check all occurances
            expand sizeof() binary exceptions
            linux/irq.h should not be recommended
            work harder to find the kernel root and add --root=
            fix --emacs mode line numbers and string concatenation warnings
            add a summary to the bottom of the main report
            loosen assignment in if checks
            update operator spacing to maintain tabs in output
            revamp unary detection
            corruption/line wrapped patches need only reporting once
            revamp s/u/be/le 8/16/32/64 bit types
            handle missing ,1 in uni-diff header
      
      Mike D. Day (2):
            Adds support to checkpatch.pl for running in the emacs compile window.
            checkpatch: Fix line number reporting
      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>
      6c72ffaa
  7. 18 10月, 2007 4 次提交
  8. 17 10月, 2007 3 次提交
    • R
      kernel-doc: fix doc blocks and html · 6b5b55f6
      Randy Dunlap 提交于
      Johannes Berg reports (Thanks!) that &struct names are not highlighted in
      html output format when they are inside a DOC: block.
      
      DOC: blocks were not escaped thru xml_escape() like other kernel-doc
      comments were.  Fixed that.
      
      However, that left a problem with <p> ($blankline_html) being processed
      thru xml_escape(), converting it to &lt;p&gt;, which isn't good for the
      generated html output (the <p> should remain unchanged), so this patch also
      introduces the notion of "local" kernel-doc meta-characters
      ('\\\\mnemonic:'), which are converted to html just before writing the
      stream to its output file.
      
      Please report any problems that you (anyone) see in "highlighting" in any
      output mode (text, man, html, xml).
      
      Also update copyright to include me.
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Cc: Johannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      6b5b55f6
    • A
      update checkpatch.pl to version 0.10 · 9c0ca6f9
      Andy Whitcroft 提交于
      This version brings a number of new checks, and a number of bug
      fixes.  Of note:
      
        - better categorisation and space checks for dual use unary/binary
          operators
        - warn on deprecated use of {SPIN,RW}_LOCK_UNLOCKED
        - check if/for/while with trailing ';' for hanging statements
        - detect DOS line endings
        - detect redundant casts for kalloc()
      
      Andy Whitcroft (18):
            Version: 0.10
            asmlinkage is also a storage type
            pull out inline specifiers
            allow only some operators before a unary operator
            parenthesised values may span line ends
            add additional attribute matching
            handle sparse annotations within pointer type space checks
            support alternative function definition syntax for typedefs
            check if/for/while with trailing ';' for hanging statements
            fix output format for case checks
            deprecate SPIN_LOCK_UNLOCKED and RW_LOCK_UNLOCKED
            allow complex macros with bracketing braces
            detect and report DOS line endings
            fastcall is a valid function attribute
            bracket spacing is ok for 'for'
            categorise operators into unary/binary/definitions
            add heuristic to pick up on unannotated types
            remove spurious warnings from cat_vet
      
      Dave Jones (1):
            Make checkpatch warn about pointless casting of kalloc returns.
      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>
      9c0ca6f9
    • M
      Add stack checking for Blackfin · 1e9535a5
      Mike Frysinger 提交于
      Simply fill out the bits in checkstack.pl for Blackfin.  I thought I already
      sent this, but I don't see it in -mm anywhere ...
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      Cc: Bryan Wu <bryan.wu@analog.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      1e9535a5
  9. 16 10月, 2007 3 次提交
    • S
      kbuild: introduce ccflags-y, asflags-y and ldflags-y · f77bf014
      Sam Ravnborg 提交于
      Introduce ccflags-y, asflags-y and ldflags-y so we soon can
      deprecate use of EXTRA_CFLAGS, EXTRA_AFLAGS and EXTRA_LDFLAGS.
      This patch does not touch any in-tree users - thats next round.
      Lets get this committed first and then fix the users of the
      soon to be deprecated variants next.
      
      The rationale behind this change is to introduce support for
      makefile fragments like:
      
      ccflags-$(CONFIG_WHATEVER_DEBUG) := -DDEBUG
      
      As a replacement for the uglier:
      ifeq ($(CONFIG_WHATEVER_DEBUG),y)
              EXTRA_CFLAGS := -DDEBUG
      endif
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      f77bf014
    • S
      kbuild: enable 'make CPPFLAGS=...' to add additional options to CPP · 06c5040c
      Sam Ravnborg 提交于
      The variable CPPFLAGS is a wellknown variable and the usage by
      kbuild may result in unexpected behaviour.
      
      This patch replace use of CPPFLAGS with KBUILD_CPPFLAGS all over the
      tree and enabling one to use:
      make CPPFLAGS=...
      to specify additional CPP commandline options.
      
      Patch was tested on following architectures:
      alpha, arm, i386, x86_64, mips, sparc, sparc64, ia64, m68k, s390
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      06c5040c
    • S
      kbuild: enable 'make AFLAGS=...' to add additional options to AS · 222d394d
      Sam Ravnborg 提交于
      The variable AFLAGS is a wellknown variable and the usage by
      kbuild may result in unexpected behaviour.
      On top of that several people over time has asked for a way to
      pass in additional flags to gcc.
      
      This patch replace use of AFLAGS with KBUILD_AFLAGS all over
      the tree.
      
      Patch was tested on following architectures:
      alpha, arm, i386, x86_64, mips, sparc, sparc64, ia64, m68k, s390
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      222d394d
  10. 15 10月, 2007 2 次提交
    • S
      kbuild: check for wrong use of CFLAGS · 0c53c8e6
      Sam Ravnborg 提交于
      External modules have in a few cases modifed gcc option
      by modifying CFLAGS. This has never been documented and
      was a bad practice.
      With the check to use KBUILD_CFLAGS it will no longer work
      so we better error out and tell what was wrong as a service
      to the external module users.
      
      This check can be overruled if
      KBUILD_NOPEDANTIC is set to something.
      Addid this possibility may allow older external
      module to build without any code modifications but potentially
      only loosing some un-important gcc options.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      0c53c8e6
    • S
      kbuild: enable 'make CFLAGS=...' to add additional options to CC · a0f97e06
      Sam Ravnborg 提交于
      The variable CFLAGS is a wellknown variable and the usage by
      kbuild may result in unexpected behaviour.
      On top of that several people over time has asked for a way to
      pass in additional flags to gcc.
      
      This patch replace use of CFLAGS with KBUILD_CFLAGS all over the
      tree and enabling one to use:
      make CFLAGS=...
      to specify additional gcc commandline options.
      
      One usecase is when trying to find gcc bugs but other
      use cases has been requested too.
      
      Patch was tested on following architectures:
      alpha, arm, i386, x86_64, mips, sparc, sparc64, ia64, m68k
      
      Test was simple to do a defconfig build, apply the patch and check
      that nothing got rebuild.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      a0f97e06
  11. 14 10月, 2007 1 次提交
    • J
      i2c: Kill struct i2c_device_id · cee37ae4
      Jean Delvare 提交于
      I2C devices do not have any form of ID as PCI or USB devices have.
      No driver uses "MODULE_DEVICE_TABLE(i2c, ...)" because it doesn't
      make sense. So we can get rid of struct i2c_device_id and the
      associated support code.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Cc: Greg KH <greg@kroah.com>
      cee37ae4
  12. 13 10月, 2007 15 次提交