X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=net%2Ftipc%2Fref.h;h=6d20006be45b66d4f034aabf6ebd1eb538041ecc;hb=27d68a36c4f1ca2fc6be82620843493462c08c51;hp=4f8f9f40dcacdcdd0645373a4e157fbf8b76cec9;hpb=71e834f563799e09c6bd7d6638993b464fac26f5;p=linux-2.6-omap-h63xx.git diff --git a/net/tipc/ref.h b/net/tipc/ref.h index 4f8f9f40dca..6d20006be45 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