diff options
author | kevlo <kevlo@FreeBSD.org> | 2012-10-09 08:27:40 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2012-10-09 08:27:40 +0000 |
commit | 8747a46991f804159ec832961138fbafc8489e41 (patch) | |
tree | e7c16f01159a965270042d2eee89fe0f8bea4679 /sys/contrib/rdma | |
parent | 543514a78ba423fb4c2351e080e8822ed44312d1 (diff) | |
download | FreeBSD-src-8747a46991f804159ec832961138fbafc8489e41.zip FreeBSD-src-8747a46991f804159ec832961138fbafc8489e41.tar.gz |
Prefer NULL over 0 for pointers
Diffstat (limited to 'sys/contrib/rdma')
-rw-r--r-- | sys/contrib/rdma/rdma_addr.c | 2 | ||||
-rw-r--r-- | sys/contrib/rdma/rdma_cma.c | 2 | ||||
-rw-r--r-- | sys/contrib/rdma/rdma_device.c | 2 | ||||
-rw-r--r-- | sys/contrib/rdma/rdma_iwcm.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/sys/contrib/rdma/rdma_addr.c b/sys/contrib/rdma/rdma_addr.c index b1717c0..4d43e4b 100644 --- a/sys/contrib/rdma/rdma_addr.c +++ b/sys/contrib/rdma/rdma_addr.c @@ -407,7 +407,7 @@ addr_load(module_t mod, int cmd, void *arg) static moduledata_t mod_data = { "rdma_addr", addr_load, - 0 + NULL }; MODULE_VERSION(rdma_addr, 1); diff --git a/sys/contrib/rdma/rdma_cma.c b/sys/contrib/rdma/rdma_cma.c index ea3d501..0806094 100644 --- a/sys/contrib/rdma/rdma_cma.c +++ b/sys/contrib/rdma/rdma_cma.c @@ -2990,7 +2990,7 @@ cma_load(module_t mod, int cmd, void *arg) static moduledata_t mod_data = { "rdma_cma", cma_load, - 0 + NULL }; MODULE_VERSION(rdma_cma, 1); diff --git a/sys/contrib/rdma/rdma_device.c b/sys/contrib/rdma/rdma_device.c index 53cf31f..a96aa68 100644 --- a/sys/contrib/rdma/rdma_device.c +++ b/sys/contrib/rdma/rdma_device.c @@ -769,7 +769,7 @@ rdma_core_load(module_t mod, int cmd, void *arg) static moduledata_t mod_data = { "rdma_core", rdma_core_load, - 0 + NULL }; MODULE_VERSION(rdma_core, 1); diff --git a/sys/contrib/rdma/rdma_iwcm.c b/sys/contrib/rdma/rdma_iwcm.c index 916abcd..a20bf95 100644 --- a/sys/contrib/rdma/rdma_iwcm.c +++ b/sys/contrib/rdma/rdma_iwcm.c @@ -1078,7 +1078,7 @@ iw_cm_load(module_t mod, int cmd, void *arg) static moduledata_t mod_data = { "rdma_iwcm", iw_cm_load, - 0 + NULL }; MODULE_VERSION(rdma_iwcm, 1); |