1. 09 11月, 2011 4 次提交
  2. 08 11月, 2011 6 次提交
  3. 05 11月, 2011 10 次提交
  4. 04 11月, 2011 4 次提交
  5. 03 11月, 2011 10 次提交
  6. 02 11月, 2011 3 次提交
  7. 01 11月, 2011 3 次提交
    • A
      drivers/net/ethernet/i825xx/3c505.c: fix build with dynamic debug · 23e04944
      Andrew Morton 提交于
      The `#define filename' screws up the expansion of
      DEFINE_DYNAMIC_DEBUG_METADATA:
      
      drivers/net/ethernet/i825xx/3c505.c: In function 'send_pcb':
      drivers/net/ethernet/i825xx/3c505.c:390: error: expected identifier before string constant
      drivers/net/ethernet/i825xx/3c505.c:390: error: expected '}' before '.' token
      drivers/net/ethernet/i825xx/3c505.c:436: error: expected identifier before string constant
      drivers/net/ethernet/i825xx/3c505.c:435: error: expected '}' before '.' token
      drivers/net/ethernet/i825xx/3c505.c: In function 'start_receive':
      drivers/net/ethernet/i825xx/3c505.c:557: error: expected identifier before string constant
      drivers/net/ethernet/i825xx/3c505.c:557: error: expected '}' before '.' token
      drivers/net/ethernet/i825xx/3c505.c: In function 'receive_packet':
      drivers/net/ethernet/i825xx/3c505.c:629: error: expected identifier before string constant
      
      etc
      
      So remove that #define and "open-code" it.
      
      Cc: Philip Blundell <philb@gnu.org>
      Cc: David Miller <davem@davemloft.net>
      Cc: Jason Baron <jbaron@redhat.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      23e04944
    • J
      treewide: use __printf not __attribute__((format(printf,...))) · b9075fa9
      Joe Perches 提交于
      Standardize the style for compiler based printf format verification.
      Standardized the location of __printf too.
      
      Done via script and a little typing.
      
      $ grep -rPl --include=*.[ch] -w "__attribute__" * | \
        grep -vP "^(tools|scripts|include/linux/compiler-gcc.h)" | \
        xargs perl -n -i -e 'local $/; while (<>) { s/\b__attribute__\s*\(\s*\(\s*format\s*\(\s*printf\s*,\s*(.+)\s*,\s*(.+)\s*\)\s*\)\s*\)/__printf($1, $2)/g ; print; }'
      
      [akpm@linux-foundation.org: revert arch bits]
      Signed-off-by: NJoe Perches <joe@perches.com>
      Cc: "Kirill A. Shutemov" <kirill@shutemov.name>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      b9075fa9
    • P
      drivers/net: fix mislocated headers in cxgb4/l2t.c · 310587c3
      Paul Gortmaker 提交于
      For some reason three #include <linux/...> are buried way
      down in the file.  Since the inclusion of module.h is one
      of them, the inclusion comes after use of EXPORT_SYMBOL
      which will cause warnings about implicit declarations.
      Relocate all the headers to the top.
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      310587c3