forked from Minki/linux
6b15075c2c
The nasid_to_try variable is an array of integers, so plain integers can be used when assigning values to the elements rather than casting a NULL pointer to an integer, which results in the following warning from GCC: arch/ia64/sn/kernel/bte.c:117:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] nasid_to_try[1] = (int)NULL; ^ arch/ia64/sn/kernel/bte.c:125:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] nasid_to_try[1] = (int)NULL; ^ Replace (int)NULL with a simple 0 to silence these warnings. Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Tony Luck <tony.luck@intel.com> |
||
---|---|---|
.. | ||
sn2 | ||
bte_error.c | ||
bte.c | ||
huberror.c | ||
idle.c | ||
io_acpi_init.c | ||
io_common.c | ||
io_init.c | ||
iomv.c | ||
irq.c | ||
klconflib.c | ||
machvec.c | ||
Makefile | ||
mca.c | ||
msi_sn.c | ||
pio_phys.S | ||
setup.c | ||
tiocx.c |