diff options
author | Joe Perches <[email protected]> | 2015-11-06 16:31:37 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2015-11-06 17:50:42 -0800 |
commit | 6d32f7a391466ed89d8a1018fdff5330766cc272 (patch) | |
tree | 049ca93f373281469b42d3ce38a4de1fd863b1b3 /lib/mpi/mpiutil.c | |
parent | 369c8dd390baffd77b892b563d03f800e65d2dfa (diff) |
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 <[email protected]>
Signed-off-by: Shailendra Verma <[email protected]>
Tested-by: Shailendra Verma <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions