commit | a158073c43b3aa26407b4c7987c909d21a12b5e5 | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Fri Aug 09 13:04:35 2013 +0900 |
committer | Sage Weil <sage@inktank.com> | Fri Aug 09 17:55:40 2013 -0700 |
tree | 5e69fbaa68879b5668552e3c9501443f3fa1acc1 | |
parent | 6f60f889470aecf747610279545c054a99aadca3 [diff] |
block: rbd: use NULL instead of 0 The local variables such as 'bio_list', and 'pages' are pointers; thus, use NULL instead of 0 to fix the following sparse warnings. drivers/block/rbd.c:2166:32: warning: Using plain integer as NULL pointer drivers/block/rbd.c:2168:31: warning: Using plain integer as NULL pointer Signed-off-by: Jingoo Han <jg1.han@samsung.com> Reviewed-by: Sage Weil <sage@inktank.com>