lkml.org 
[lkml]   [2016]   [May]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [tip:x86/boot] x86/boot: Clean up pointer casting

Hm, your patch throws a lot of warnings during allnoconfig builds:

In file included from arch/x86/boot/compressed/error.c:6:0:
arch/x86/boot/compressed/misc.h: In function ‘choose_random_location’:
arch/x86/boot/compressed/misc.h:83:9: warning: return makes pointer from integer
without a cast [-Wint-conversion]
return output_ptr;
^
In file included from arch/x86/boot/compressed/early_serial_console.c:1:0:
arch/x86/boot/compressed/misc.h: In function ‘choose_random_location’:
arch/x86/boot/compressed/misc.h:83:9: warning: return makes pointer from integer
without a cast [-Wint-conversion]
return output_ptr;
^
CC arch/x86/boot/compressed/misc.o
In file included from arch/x86/boot/compressed/cmdline.c:1:0:
arch/x86/boot/compressed/misc.h: In function ‘choose_random_location’:
arch/x86/boot/compressed/misc.h:83:9: warning: return makes pointer from integer
without a cast [-Wint-conversion]
return output_ptr;
^
In file included from arch/x86/boot/compressed/misc.c:14:0:
arch/x86/boot/compressed/misc.h: In function ‘choose_random_location’:
arch/x86/boot/compressed/misc.h:83:9: warning: return makes pointer from integer
without a cast [-Wint-conversion]
return output_ptr;

Thanks,

Ingo

\
 
 \ /
  Last update: 2016-05-06 13:01    [W:0.086 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site