diff options
author | Andy Whitcroft <apw@shadowen.org> | 2007-07-19 04:48:34 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-19 13:04:47 -0400 |
commit | f0a594c1c74fedbd838402e7372030311be8cc6e (patch) | |
tree | 5ad2537167712b7bb281c30ca89ea1a076ee1bf6 /Documentation/feature-removal-schedule.txt | |
parent | 4b8a8b812edd7067fffcc4a85b8aa3adae081535 (diff) |
update checkpatch.pl to version 0.08
This version brings a number of new checks, and a number of bug
fixes. Of note:
- warnings for multiple assignments per line
- warnings for multiple declarations per line
- checks for single statement blocks with braces
This patch includes an update for feature-removal-schedule.txt to
better target checks.
Andy Whitcroft (12):
Version: 0.08
only apply printk checks where there is a string literal
allow suppression of errors for when no patch is found
warn about multiple assignments
warn on declaration of multiple variables
check for kfree() with needless null check
check for single statement braced blocks
check for aggregate initialisation on the next line
handle the => operator
check for spaces between function name and open parenthesis
move to explicit Check: entries in feature-removal-schedule.txt
handle pointer attributes
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/feature-removal-schedule.txt')
-rw-r--r-- | Documentation/feature-removal-schedule.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt index cff63befeb9a..a9941544ed8e 100644 --- a/Documentation/feature-removal-schedule.txt +++ b/Documentation/feature-removal-schedule.txt | |||
@@ -51,6 +51,7 @@ Who: David Miller <davem@davemloft.net> | |||
51 | What: Video4Linux API 1 ioctls and video_decoder.h from Video devices. | 51 | What: Video4Linux API 1 ioctls and video_decoder.h from Video devices. |
52 | When: December 2006 | 52 | When: December 2006 |
53 | Files: include/linux/video_decoder.h | 53 | Files: include/linux/video_decoder.h |
54 | Check: include/linux/video_decoder.h | ||
54 | Why: V4L1 AP1 was replaced by V4L2 API. during migration from 2.4 to 2.6 | 55 | Why: V4L1 AP1 was replaced by V4L2 API. during migration from 2.4 to 2.6 |
55 | series. The old API have lots of drawbacks and don't provide enough | 56 | series. The old API have lots of drawbacks and don't provide enough |
56 | means to work with all video and audio standards. The newer API is | 57 | means to work with all video and audio standards. The newer API is |
@@ -84,7 +85,7 @@ Who: Dominik Brodowski <linux@brodo.de> | |||
84 | What: remove EXPORT_SYMBOL(kernel_thread) | 85 | What: remove EXPORT_SYMBOL(kernel_thread) |
85 | When: August 2006 | 86 | When: August 2006 |
86 | Files: arch/*/kernel/*_ksyms.c | 87 | Files: arch/*/kernel/*_ksyms.c |
87 | Funcs: kernel_thread | 88 | Check: kernel_thread |
88 | Why: kernel_thread is a low-level implementation detail. Drivers should | 89 | Why: kernel_thread is a low-level implementation detail. Drivers should |
89 | use the <linux/kthread.h> API instead which shields them from | 90 | use the <linux/kthread.h> API instead which shields them from |
90 | implementation details and provides a higherlevel interface that | 91 | implementation details and provides a higherlevel interface that |