Commit 16b7f3c
checkpatch: avoid warning about uninitialized_var()
WARNING: function definition argument 'flags' should also have an identifier name
#26: FILE: drivers/tty/serial/sh-sci.c:1348:
+ unsigned long uninitialized_var(flags);
Special-case uninitialized_var() to prevent this.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Tested-by: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/7db7944761b0bd88c70eb17d4b7f40fe589e14ed.camel@perches.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>1 parent 50c9290 commit 16b7f3c
1 file changed
Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4071 | 4071 | | |
4072 | 4072 | | |
4073 | 4073 | | |
4074 | | - | |
| 4074 | + | |
4075 | 4075 | | |
4076 | 4076 | | |
4077 | 4077 | | |
| |||
6287 | 6287 | | |
6288 | 6288 | | |
6289 | 6289 | | |
| 6290 | + | |
6290 | 6291 | | |
6291 | | - | |
6292 | | - | |
6293 | | - | |
| 6292 | + | |
| 6293 | + | |
| 6294 | + | |
| 6295 | + | |
| 6296 | + | |
6294 | 6297 | | |
6295 | 6298 | | |
6296 | | - | |
| 6299 | + | |
| 6300 | + | |
6297 | 6301 | | |
6298 | 6302 | | |
6299 | 6303 | | |
| |||
0 commit comments