diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2013-06-16 14:12:47 +0930 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-06-19 15:01:36 +0200 |
commit | 5a802e15308f152247433d87050d1bfbf9613483 (patch) | |
tree | 0507ee1679856c252238f5507d3aa04f2268956d /fs/hugetlbfs | |
parent | 4338774cd41a6abf72aa76585ce2184cea8ff8a2 (diff) | |
download | linux-5a802e15308f152247433d87050d1bfbf9613483.tar.gz linux-5a802e15308f152247433d87050d1bfbf9613483.tar.bz2 linux-5a802e15308f152247433d87050d1bfbf9613483.zip |
x86: Remove weird PTR_ERR() in do_debug
62edab905 changed the argument to notify_die() from dr6 to &dr6,
but weirdly, used PTR_ERR() to cast it to a long. Since dr6 is
on the stack, this is an abuse of PTR_ERR(). Cast to long, as
per kernel standard.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: K.Prasad <prasad@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/1371357768-4968-8-git-send-email-rusty@rustcorp.com.au
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'fs/hugetlbfs')
0 files changed, 0 insertions, 0 deletions