Re: [PATCH] FRV: Fix no-hardware-breakpoint case

From: Frederic Weisbecker
Date: Mon Dec 14 2009 - 09:07:09 EST


On Mon, Dec 14, 2009 at 02:03:27PM +0000, David Howells wrote:
> 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 <dhowells@xxxxxxxxxx>


Thanks, we have this fixed in tip:/perf/urgent already. It should
reach upstream soon.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/