Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86460
b: refs/heads/master
c: 5f2f40a
h: refs/heads/master
v: v3
  • Loading branch information
Harvey Harrison authored and David S. Miller committed Feb 25, 2008
1 parent de5fed6 commit 394aa82
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 323dbaba2cfab170c656f5d68986ff0ced5b421c
refs/heads/master: 5f2f40a92e007ec5b503db20f3f70cb331c64f65
2 changes: 1 addition & 1 deletion trunk/net/tipc/cluster.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ void tipc_cltr_attach_node(struct cluster *c_ptr, struct node *n_ptr)
max_n_num = tipc_highest_allowed_slave;
assert(n_num > 0);
assert(n_num <= max_n_num);
assert(c_ptr->nodes[n_num] == 0);
assert(c_ptr->nodes[n_num] == NULL);
c_ptr->nodes[n_num] = n_ptr;
if (n_num > c_ptr->highest_node)
c_ptr->highest_node = n_num;
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/tipc/link.c
Original file line number Diff line number Diff line change
Expand Up @@ -3251,7 +3251,7 @@ static void link_print(struct link *l_ptr, struct print_buf *buf,
if ((mod(msg_seqno(buf_msg(l_ptr->last_out)) -
msg_seqno(buf_msg(l_ptr->first_out)))
!= (l_ptr->out_queue_size - 1))
|| (l_ptr->last_out->next != 0)) {
|| (l_ptr->last_out->next != NULL)) {
tipc_printf(buf, "\nSend queue inconsistency\n");
tipc_printf(buf, "first_out= %x ", l_ptr->first_out);
tipc_printf(buf, "next_out= %x ", l_ptr->next_out);
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/tipc/ref.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ u32 tipc_ref_acquire(void *object, spinlock_t **lock)
reference = (next_plus_upper & ~index_mask) + index;
entry->data.reference = reference;
entry->object = object;
if (lock != 0)
if (lock != NULL)
*lock = &entry->lock;
spin_unlock_bh(&entry->lock);
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/tipc/zone.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ void tipc_zone_attach_cluster(struct _zone *z_ptr, struct cluster *c_ptr)

assert(c_ptr->addr);
assert(c_num <= tipc_max_clusters);
assert(z_ptr->clusters[c_num] == 0);
assert(z_ptr->clusters[c_num] == NULL);
z_ptr->clusters[c_num] = c_ptr;
}

Expand Down

0 comments on commit 394aa82

Please sign in to comment.