Re: [tip:perf/urgent] hw-breakpoints: Letmodify_user_hw_breakpoint() return an int

From: Frederic Weisbecker
Date: Mon Dec 14 2009 - 05:37:45 EST


On Mon, Dec 14, 2009 at 09:49:44AM +0000, tip-bot for Heiko Carstens wrote:
> Commit-ID: 4983ee49cf0393fd786891dd53af41146cf9f98b
> Gitweb: http://git.kernel.org/tip/4983ee49cf0393fd786891dd53af41146cf9f98b
> Author: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
> AuthorDate: Mon, 14 Dec 2009 10:24:12 +0100
> Committer: Ingo Molnar <mingo@xxxxxxx>
> CommitDate: Mon, 14 Dec 2009 10:42:57 +0100
>
> hw-breakpoints: Let modify_user_hw_breakpoint() return an int
>
> Let modify_user_hw_breakpoint return an int to avoid hundreds of
> compile warnings like this one:
>
> 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
>
> Signed-off-by: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
> Cc: Frederic Weisbecker <fweisbec@xxxxxxxxx>
> LKML-Reference: <20091214092412.GA5242@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Ingo Molnar <mingo@xxxxxxx>


Thanks!

I sent a patch for that but looks like it haven't made
its way :)

[PATCH] hw-breakpoints: Handle bad modify_user_hw_breakpoint off-case return value

--
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/