Re: [PATCH] x86: mrst: quiet sparse noise about plain integer asNULL pointer

From: Kirill A. Shutemov
Date: Wed Apr 25 2012 - 06:57:01 EST


On Tue, Apr 24, 2012 at 03:00:53PM -0700, H Hartley Sweeten wrote:
> The second parameter to intel_scu_notifier_post is a void * not an integer.
>
> This quiets the sparse noise:
>
> arch/x86/platform/mrst/mrst.c:808:48: warning: Using plain integer as NULL pointer
> arch/x86/platform/mrst/mrst.c:817:43: warning: Using plain integer as NULL pointer
>
> Signed-off-by: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx>
> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Cc: Ingo Molnar <mingo@xxxxxxxxxx>
> Cc: "H. Peter Anvin" <hpa@xxxxxxxxx>

Acked-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>

--
Kirill A. Shutemov
--
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/