Re: [patch] x86, NMI: add to_cpumask() to silence compile warning

From: Don Zickus
Date: Wed Dec 07 2011 - 10:00:22 EST


On Wed, Dec 07, 2011 at 02:06:12PM +0300, Dan Carpenter wrote:
> Gcc complains if we don't cast this to a struct cpumask pointer.
> arch/x86/kernel/nmi_selftest.c:93:2:
> warning: passing argument 1 of âcpumask_emptyâ from
> incompatible pointer type [enabled by default]
>
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Crap, I knew I rushed the patch. Thanks for catching this obvious bug.

Acked-by: Don Zickus <dzickus@xxxxxxxxxx>
--
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/