From: David Howells Date: Mon, 14 Dec 2009 14:03:27 +0000 (+0000) Subject: FRV: Fix no-hardware-breakpoint case X-Git-Tag: v2.6.33-rc1~282 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5185fb069972b653dd7177292e7510ff99d9e8aa;p=pandora-kernel.git FRV: Fix no-hardware-breakpoint case If there is no hardware breakpoint support, modify_user_hw_breakpoint() tries to return a NULL pointer through as an 'int' return value: In file included from kernel/exit.c:53: include/linux/hw_breakpoint.h: In function 'modify_user_hw_breakpoint': include/linux/hw_breakpoint.h:96: warning: return makes integer from pointer without a cast Return 0 instead. Signed-off-by: David Howells Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed