projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bba5850
)
iucv: Convert sk_wmem_alloc accesses to refcount_t.
author
David S. Miller
<davem@davemloft.net>
Mon, 3 Jul 2017 09:31:22 +0000
(
02:31
-0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 3 Jul 2017 09:31:22 +0000
(
02:31
-0700)
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/iucv/af_iucv.c
patch
|
blob
|
blame
|
history
diff --git
a/net/iucv/af_iucv.c
b/net/iucv/af_iucv.c
index ac033e413bc5c98b53ecd31394dd80d4679717e1..148533169b1ddb6d20aea50523e6311188e80f13 100644
(file)
--- a/
net/iucv/af_iucv.c
+++ b/
net/iucv/af_iucv.c
@@
-402,7
+402,7
@@
static void iucv_sock_destruct(struct sock *sk)
}
WARN_ON(atomic_read(&sk->sk_rmem_alloc));
- WARN_ON(
atomic
_read(&sk->sk_wmem_alloc));
+ WARN_ON(
refcount
_read(&sk->sk_wmem_alloc));
WARN_ON(sk->sk_wmem_queued);
WARN_ON(sk->sk_forward_alloc);
}