X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Ftipc%2Fref.h;h=4f8f9f40dcacdcdd0645373a4e157fbf8b76cec9;hb=987b0145d94eecf292d8b301228356f44611ab7c;hp=6d20006be45b66d4f034aabf6ebd1eb538041ecc;hpb=f7ed79d23a47594e7834d66a8f14449796d4f3e6;p=linux-2.6.git diff --git a/net/tipc/ref.h b/net/tipc/ref.h index 6d20006be..4f8f9f40d 100644 --- a/net/tipc/ref.h +++ b/net/tipc/ref.h @@ -92,7 +92,7 @@ static inline void *tipc_ref_lock(u32 ref) return r->object; spin_unlock_bh(&r->lock); } - return NULL; + return 0; } /** @@ -125,7 +125,7 @@ static inline void *tipc_ref_deref(u32 ref) if (likely(r->data.reference == ref)) return r->object; } - return NULL; + return 0; } #endif