|

楼主 |
发表于 2009-10-18 21:54:41
|
显示全部楼层
这会有很多这样的信息- scripts/kallsyms.c: In function ‘read_symbol’:
- scripts/kallsyms.c:74: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
- scripts/mod/modpost.c: In function ‘get_markers’:
- scripts/mod/modpost.c:1534: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result
- scripts/mod/modpost.c: In function ‘add_marker’:
- scripts/mod/modpost.c:1954: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result
- usr/gen_init_cpio.c: In function ‘cpio_mkfile’:
- usr/gen_init_cpio.c:357: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
- arch/x86/kernel/dumpstack.c: In function ‘print_trace_warning_symbol’:
- arch/x86/kernel/dumpstack.c:117: warning: format not a string literal and no format arguments
- arch/x86/kernel/dumpstack.c: In function ‘print_trace_address’:
- arch/x86/kernel/dumpstack.c:139: warning: format not a string literal and no format arguments
- arch/x86/kernel/e820.c: In function ‘early_panic’:
- arch/x86/kernel/e820.c:1231: warning: format not a string literal and no format arguments
- arch/x86/kernel/e820.c:1232: warning: format not a string literal and no format arguments
- init/initramfs.c: In function ‘populate_rootfs’:
- init/initramfs.c:573: warning: format not a string literal and no format arguments
- arch/x86/kernel/cpu/mcheck/mce_64.c: In function ‘mce_panic’:
- arch/x86/kernel/cpu/mcheck/mce_64.c:166: warning: format not a string literal and no format arguments
复制代码 |
|