From 8747a46991f804159ec832961138fbafc8489e41 Mon Sep 17 00:00:00 2001 From: kevlo Date: Tue, 9 Oct 2012 08:27:40 +0000 Subject: Prefer NULL over 0 for pointers --- sys/contrib/ipfilter/netinet/mlfk_ipl.c | 2 +- sys/contrib/rdma/rdma_addr.c | 2 +- sys/contrib/rdma/rdma_cma.c | 2 +- sys/contrib/rdma/rdma_device.c | 2 +- sys/contrib/rdma/rdma_iwcm.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'sys/contrib') diff --git a/sys/contrib/ipfilter/netinet/mlfk_ipl.c b/sys/contrib/ipfilter/netinet/mlfk_ipl.c index 6dcb821..709c613b 100644 --- a/sys/contrib/ipfilter/netinet/mlfk_ipl.c +++ b/sys/contrib/ipfilter/netinet/mlfk_ipl.c @@ -275,7 +275,7 @@ ipf_modunload() static moduledata_t ipfiltermod = { "ipfilter", ipfilter_modevent, - 0 + NULL }; 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); -- cgit v1.1