X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Ftipc%2Fref.h;fp=net%2Ftipc%2Fref.h;h=6d20006be45b66d4f034aabf6ebd1eb538041ecc;hb=97bf2856c6014879bd04983a3e9dfcdac1e7fe85;hp=4f8f9f40dcacdcdd0645373a4e157fbf8b76cec9;hpb=76828883507a47dae78837ab5dec5a5b4513c667;p=linux-2.6.git diff --git a/net/tipc/ref.h b/net/tipc/ref.h index 4f8f9f40d..6d20006be 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 0; + return NULL; } /** @@ -125,7 +125,7 @@ static inline void *tipc_ref_deref(u32 ref) if (likely(r->data.reference == ref)) return r->object; } - return 0; + return NULL; } #endif