kernel-ark/arch/ia64/sn/kernel
Thierry Reding 6b15075c2c [IA64] sn: Do not needlessly convert between pointers and integers
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>
2014-07-29 16:28:15 -07:00
..
sn2 ia64: single_open() leaks 2013-05-05 00:09:04 -04:00
bte_error.c
bte.c [IA64] sn: Do not needlessly convert between pointers and integers 2014-07-29 16:28:15 -07:00
huberror.c
idle.c
io_acpi_init.c ACPI / driver core: Store an ACPI device pointer in struct acpi_dev_node 2013-11-14 23:14:43 +01:00
io_common.c
io_init.c PCI changes for the v3.11 merge window: 2013-07-03 16:31:35 -07:00
iomv.c
irq.c ia64: Validate online cpus in irq_set_affinity() callbacks 2014-03-12 13:07:40 +01:00
klconflib.c
machvec.c
Makefile
mca.c
msi_sn.c ia64: Validate online cpus in irq_set_affinity() callbacks 2014-03-12 13:07:40 +01:00
pio_phys.S
setup.c [IA64] sn: Fix zeroing of PDAs 2014-07-29 16:26:37 -07:00
tiocx.c