diff options
author | Dan Carpenter <[email protected]> | 2012-10-10 11:13:07 -0700 |
---|---|---|
committer | John W. Linville <[email protected]> | 2012-10-19 16:17:40 -0400 |
commit | 81118d165811581f2fe8a793f270e9961fc7e445 (patch) | |
tree | e8fd2305795c51fdc8c8c2d86706842e899a8f3d /lib/cpu-notifier-error-inject.c | |
parent | 424749c75daf3611a68a49eca5940ac2b74e4406 (diff) |
brcmfmac: Using zero instead of NULL
Sparse complains that we use zero instead of NULL here. In fact, the
initialization is wrong and should be removed. Doing these kinds of
bogus initializations means that GCC can't detect unitialized variables
and leads to bugs.
Reported-by: Fengguang Wu <[email protected]>
Reviewed-by: Hante Meuleman <[email protected]>
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Franky Lin <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions