aboutsummaryrefslogtreecommitdiffstats
path: root/net/phonet/pep.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-10-13 09:24:51 +0200
committerIngo Molnar <mingo@elte.hu>2009-10-13 09:24:59 +0200
commit2c96c142e941041973faab20ca3b82d57f435c5e (patch)
tree45188f0ecb3f4bb7408a7219f8fcd041d500235a /net/phonet/pep.c
parenttestmmiotrace.c: Add and use pr_fmt(fmt) (diff)
parenttracing/filters: Fix memory leak when setting a filter (diff)
downloadlinux-dev-2c96c142e941041973faab20ca3b82d57f435c5e.tar.xz
linux-dev-2c96c142e941041973faab20ca3b82d57f435c5e.zip
Merge branch 'tracing/urgent' into tracing/core
Merge reason: Pick up tracing/filters fix from the urgent queue, we will queue up dependent patches. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'net/phonet/pep.c')
-rw-r--r--net/phonet/pep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/phonet/pep.c b/net/phonet/pep.c
index b8252d289cd7..5f32d217535b 100644
--- a/net/phonet/pep.c
+++ b/net/phonet/pep.c
@@ -742,7 +742,7 @@ static int pep_init(struct sock *sk)
}
static int pep_setsockopt(struct sock *sk, int level, int optname,
- char __user *optval, int optlen)
+ char __user *optval, unsigned int optlen)
{
struct pep_sock *pn = pep_sk(sk);
int val = 0, err = 0;