fs/afs/rxrpc.c:187:17-21: ERROR: reference preceded by free on line 184 (fwd)
From: Julia Lawall
Date: Thu Feb 23 2017 - 14:26:08 EST
No idea if this is a problem. Maybe trace_afs_call is just using the
address?
julia
---------- Forwarded message ----------
Date: Thu, 23 Feb 2017 23:18:26 +0800
From: kbuild test robot <fengguang.wu@xxxxxxxxx>
To: kbuild@xxxxxx
Cc: Julia Lawall <julia.lawall@xxxxxxx>
Subject: fs/afs/rxrpc.c:187:17-21: ERROR: reference preceded by free on line 184
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: bc49a7831b1137ce1c2dda1c57e3631655f5d2ae
commit: 341f741f04beceebcb30daa12ae2e5e52e64e532 afs: Refcount the afs_call struct
date: 6 weeks ago
:::::: branch date: 12 hours ago
:::::: commit date: 6 weeks ago
>> fs/afs/rxrpc.c:187:17-21: ERROR: reference preceded by free on line 184
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git remote update linus
git checkout 341f741f04beceebcb30daa12ae2e5e52e64e532
vim +187 fs/afs/rxrpc.c
6c67c7c3 David Howells 2014-05-21 178 call->rxcall = NULL;
6c67c7c3 David Howells 2014-05-21 179 }
6cf12869 Nathaniel Wesley Filardo 2014-05-21 180 if (call->type->destructor)
6c67c7c3 David Howells 2014-05-21 181 call->type->destructor(call);
341f741f David Howells 2017-01-05 182
341f741f David Howells 2017-01-05 183 kfree(call->request);
341f741f David Howells 2017-01-05 @184 kfree(call);
341f741f David Howells 2017-01-05 185
341f741f David Howells 2017-01-05 186 o = atomic_dec_return(&afs_outstanding_calls);
341f741f David Howells 2017-01-05 @187 trace_afs_call(call, afs_call_trace_free, 0, o,
341f741f David Howells 2017-01-05 188 __builtin_return_address(0));
341f741f David Howells 2017-01-05 189 if (o == 0)
341f741f David Howells 2017-01-05 190 wake_up_atomic_t(&afs_outstanding_calls);
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation