Files
android_kernel_xiaomi_sm8450/arch/ia64/kernel
Jeff Mahoney c1d036c4d1 [IA64] mca.c: Fix cast from integer to pointer warning
ia64_mca_cpu_init has a void *data local variable that is assigned
the value from either __get_free_pages() or mca_bootmem(). The problem
is that __get_free_pages returns an unsigned long and mca_bootmem, via
alloc_bootmem(), returns a void *. format_mca_init_stack takes the void *,
and it's also used with __pa(), but that casts it to long anyway.

This results in the following build warning:

arch/ia64/kernel/mca.c:1898: warning: assignment makes pointer from
integer without a cast

Cast the return of __get_free_pages to a void * to avoid
the warning.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
2011-03-02 14:02:50 -08:00
..
2010-05-18 14:45:53 -07:00
2010-02-08 10:42:17 -08:00
2005-04-16 15:20:36 -07:00
2010-08-13 20:55:51 -07:00
2006-06-21 11:19:22 -07:00
2010-03-03 11:25:59 +01:00
2009-10-29 22:34:15 +09:00
2010-12-28 14:19:20 -08:00
2010-09-23 13:52:07 -07:00
2008-02-04 15:42:06 -08:00
2008-02-04 15:42:06 -08:00
2009-06-17 09:33:49 -07:00
2008-04-08 13:51:35 -07:00
2009-03-27 11:11:04 -07:00
2009-03-27 11:11:04 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-12-07 10:48:19 -08:00
2007-05-08 14:51:59 -07:00
2010-02-08 10:42:17 -08:00
2010-05-18 14:45:53 -07:00
2010-02-08 10:42:17 -08:00
2010-05-18 14:45:54 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2010-06-21 15:08:44 -07:00