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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux