Re: [PATCH -tip] x86: oprofile/op_model_amd.c set return valuesfor op_amd_handle_ibs()
From: Robert Richter
Date: Thu Jun 18 2009 - 10:48:20 EST
On 18.06.09 17:09:27, Jaswinder Singh Rajput wrote:
>
> op_amd_handle_ibs() should return 0 when IBS is not present or not defined.
>
> Fix compilation warning:
> CC [M] arch/x86/oprofile/op_model_amd.o
> arch/x86/oprofile/op_model_amd.c: In function âop_amd_handle_ibsâ:
> arch/x86/oprofile/op_model_amd.c:217: warning: no return statement in function returning non-void
>
> Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@xxxxxxxxx>
> ---
> arch/x86/oprofile/op_model_amd.c | 7 +++++--
> 1 files changed, 5 insertions(+), 2 deletions(-)
Applied to:
git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile.git master
Thanks Jaswinder,
-Robert
--
Advanced Micro Devices, Inc.
Operating System Research Center
email: robert.richter@xxxxxxx
--
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/