X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=net%2Ftipc%2Fref.h;h=6d20006be45b66d4f034aabf6ebd1eb538041ecc;hb=4d3ce21fa9d2eaeda113aa2f9c2da80d972bef64;hp=4f8f9f40dcacdcdd0645373a4e157fbf8b76cec9;hpb=536ea4e4198eeaa5a73fb734ea675e621609bb7e;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