summaryrefslogtreecommitdiff
path: root/sound/arm/pxa2xx-pcm-lib.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2015-11-07 03:31:37 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2015-11-07 04:50:42 +0300
commit6d32f7a391466ed89d8a1018fdff5330766cc272 (patch)
tree049ca93f373281469b42d3ce38a4de1fd863b1b3 /sound/arm/pxa2xx-pcm-lib.c
parent369c8dd390baffd77b892b563d03f800e65d2dfa (diff)
downloadlinux-6d32f7a391466ed89d8a1018fdff5330766cc272.tar.xz
checkpatch: improve the unnecessary initialisers tests
Global and static variables don't need to be initialized to 0. There is already a test for this but the output message doesn't mention booleans initialized to false. Improve the output message and the test by adding various forms with possible specific integer types and possible multiple zeros. Miscellanea: o Use a variable to hold the possible 0 test Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Shailendra Verma <shailendra.v@samsung.com> Tested-by: Shailendra Verma <shailendra.v@samsung.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'sound/arm/pxa2xx-pcm-lib.c')
0 files changed, 0 insertions, 0 deletions