X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Ftipc%2Fcluster.h;h=62df074afaecf8a5912b5b9a25a0779a391b8da8;hb=f8e79ddd31c3615ddca26b9a469c44a7adbd4e13;hp=9963642e105833dbfb05ac4cff0b2f9bfac5626a;hpb=934a3595b30c986bab52bc9c08d12c8962c88c8a;p=linux-2.6 diff --git a/net/tipc/cluster.h b/net/tipc/cluster.h index 9963642e10..62df074afa 100644 --- a/net/tipc/cluster.h +++ b/net/tipc/cluster.h @@ -1,6 +1,6 @@ /* * net/tipc/cluster.h: Include file for TIPC cluster management routines - * + * * Copyright (c) 2000-2006, Ericsson AB * Copyright (c) 2005, Wind River Systems * All rights reserved. @@ -50,7 +50,7 @@ * @highest_node: id of highest numbered node within cluster * @highest_slave: (used for secondary node support) */ - + struct cluster { u32 addr; struct _zone *owner; @@ -86,7 +86,7 @@ static inline struct cluster *tipc_cltr_find(u32 addr) if (z_ptr) return z_ptr->clusters[1]; - return 0; + return NULL; } #endif