diff options
| author | Frank Zago <[email protected]> | 2016-02-22 17:29:11 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-02-22 18:05:49 -0800 |
| commit | 24af3e1676f09b69f9a49c1bcdb6d53455897bb7 (patch) | |
| tree | 4ca2cf4b88164976ff5dd132f557ef8b064da0db /tools/perf/scripts/python/netdev-times.py | |
| parent | 505510fd9db560d9bd19524a801560ba94b80c7d (diff) | |
staging: lustre: missed a few cases of using NULL instead of 0
It is preferable to use NULL instead of 0 for pointers. This fixes sparse
warnings such as:
lustre/fld/fld_request.c:126:17: warning: Using plain integer as NULL pointer
The second parameter of class_match_param() was changed to a const, to
be able to remove a cast in one user, to prevent splitting a long
line. No other code change.
Signed-off-by: Frank Zago <[email protected]>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5396
Reviewed-on: http://review.whamcloud.com/12567
Reviewed-by: Dmitry Eremin <[email protected]>
Reviewed-by: John L. Hammond <[email protected]>
Reviewed-by: Bob Glossman <[email protected]>
Reviewed-by: James Simmons <[email protected]>
Reviewed-by: Oleg Drokin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions