]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
checkpatch: avoid warning about uninitialized_var()
authorJoe Perches <joe@perches.com>
Tue, 7 Apr 2020 03:11:17 +0000 (20:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 7 Apr 2020 17:43:44 +0000 (10:43 -0700)
commit16b7f3c89907acf947500f0c20dcff44f651d795
tree831043d86786f35816f3247957b9d33f37be67cf
parent50c92900214dd9a55bcecc3c53e90d072aff6560
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>
scripts/checkpatch.pl