diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2018-10-03 19:21:03 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-10-03 19:21:03 -0700 |
| commit | a8c750891d8d93addabb97a4ba4413ac549e7b66 (patch) | |
| tree | 29e710452d47d043f5e41cb6cd790a30bc65be4d /lib | |
| parent | 8e85f5958f874690b5f770cd765e66b28e299691 (diff) | |
| parent | 0280dd7aee45ec2a4cfce936f61ba619af9288ab (diff) | |
Merge "Merge android-4.4.156 (7eb7037) into msm-4.4"
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/debugobjects.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/debugobjects.c b/lib/debugobjects.c index 9ddee8c271a7..04e3bb84560e 100644 --- a/lib/debugobjects.c +++ b/lib/debugobjects.c @@ -297,9 +297,12 @@ static void debug_object_is_on_stack(void *addr, int onstack) limit++; if (is_on_stack) - pr_warn("object is on stack, but not annotated\n"); + pr_warn("object %p is on stack %p, but NOT annotated.\n", addr, + task_stack_page(current)); else - pr_warn("object is not on stack, but annotated\n"); + pr_warn("object %p is NOT on stack %p, but annotated.\n", addr, + task_stack_page(current)); + WARN_ON(1); } |
