diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2008-02-05 00:23:10 +0100 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2008-02-05 00:23:10 +0100 |
commit | cdef24c9cd38ae236065409c4a6289f165639e55 (patch) | |
tree | 3a5f41a0e8bb7643fc9e1ff4fab159422f121129 /arch/ia64/kernel/efi.c | |
parent | [IA64] Slim-down __clear_bit_unlock (diff) | |
download | linux-cdef24c9cd38ae236065409c4a6289f165639e55.tar.xz linux-cdef24c9cd38ae236065409c4a6289f165639e55.zip |
[IA64] aliasing-test: fix gcc warnings on non-ia64
Eliminate all build warnings. OK, these build warnings are from
a build on x86_64. When I build on ia64, I don't see warnings.
Now builds cleanly on ia64 and x86_64.
Documentation/ia64/aliasing-test.c: In function 'map_mem':
Documentation/ia64/aliasing-test.c:39: warning: implicit declaration of function 'ioctl'
Documentation/ia64/aliasing-test.c: In function 'scan_rom':
Documentation/ia64/aliasing-test.c:183: warning: format '%ld' expects type 'long int', but argument 4 has type 'int'
Documentation/ia64/aliasing-test.c: At top level:
Documentation/ia64/aliasing-test.c:208: warning: function declaration isn't a prototype
Documentation/ia64/aliasing-test.c: In function 'main':
Documentation/ia64/aliasing-test.c:259: warning: control reaches end of non-void function
Documentation/ia64/aliasing-test.c: In function 'scan_rom':
Documentation/ia64/aliasing-test.c:152: warning: 'rc' may be used uninitialized in this function
Documentation/ia64/aliasing-test.c: In function 'scan_tree':
Documentation/ia64/aliasing-test.c:68: warning: 'rc' may be used uninitialized in this function
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/kernel/efi.c')
0 files changed, 0 insertions, 0 deletions