From: Rusty Russell Date: Sun, 16 Jun 2013 04:42:47 +0000 (+0930) Subject: x86: Remove weird PTR_ERR() in do_debug X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~55^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a802e15308f152247433d87050d1bfbf9613483;p=pandora-kernel.git 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 Cc: K.Prasad Link: http://lkml.kernel.org/r/1371357768-4968-8-git-send-email-rusty@rustcorp.com.au Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed