Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322790
b: refs/heads/master
c: 566f26a
h: refs/heads/master
v: v3
  • Loading branch information
Wei Yongjun authored and David S. Miller committed Sep 10, 2012
1 parent 7e4480c commit 4c8063d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 2120c52da6fe741454a60644018ad2a6abd957ac
refs/heads/master: 566f26aa705609d05940289036ab914c8a3be707
5 changes: 3 additions & 2 deletions trunk/net/caif/cfsrvl.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,10 @@ void caif_client_register_refcnt(struct cflayer *adapt_layer,
void (*put)(struct cflayer *lyr))
{
struct cfsrvl *service;
service = container_of(adapt_layer->dn, struct cfsrvl, layer);

WARN_ON(adapt_layer == NULL || adapt_layer->dn == NULL);
if (WARN_ON(adapt_layer == NULL || adapt_layer->dn == NULL))
return;
service = container_of(adapt_layer->dn, struct cfsrvl, layer);
service->hold = hold;
service->put = put;
}
Expand Down

0 comments on commit 4c8063d

Please sign in to comment.