The patch titled elf.h: forward declare struct file has been added to the -mm tree. Its filename is elfh-forward-declare-struct-file.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: elf.h: forward declare struct file From: Andrew Morton <akpm@xxxxxxxx> In file included from include/asm/patch.h:14, from arch/ia64/kernel/patch.c:10: include/linux/elf.h:375: warning: "struct file" declared inside parameter list include/linux/elf.h:375: warning: its scope is only this definition or declaration, which is probably not what you want Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- include/linux/elf.h | 2 ++ 1 file changed, 2 insertions(+) diff -puN include/linux/elf.h~elfh-forward-declare-struct-file include/linux/elf.h --- a/include/linux/elf.h~elfh-forward-declare-struct-file +++ a/include/linux/elf.h @@ -6,6 +6,8 @@ #include <linux/elf-em.h> #include <asm/elf.h> +struct file; + #ifndef elf_read_implies_exec /* Executables for which elf_read_implies_exec() returns TRUE will have the READ_IMPLIES_EXEC personality flag set automatically. _ Patches currently in -mm which might be from akpm@xxxxxxxx are origin.patch add-bottom_half.h.patch drm-sis-linkage-fix.patch uml-workqueue-build-fix.patch get-rid-of-zone_table.patch new-scheme-to-preempt-swap-token.patch balance_pdgat-cleanup.patch leak-tracking-for-kmalloc_node.patch add-numa-node-information-to-struct-device.patch slab-deprecate-kmem_cache-t.patch mm-make-compound-page-destructor-handling-explicit.patch radix-tree-rcu-lockless-readside.patch swsusp-add-resume_offset-command-line-parameter-rev-2.patch add-include-linux-freezerh-and-move-definitions-from.patch convert-pm_sem-to-a-mutex.patch cciss-set-sector_size-to-2048-for-performance.patch lockdep-annotate-nfs-nfsd-in-kernel-sockets.patch probe_kernel_address-needs-to-do-set_fs.patch slab-use-probe_kernel_address.patch exar-quad-port-serial.patch vfs_getattr-remove-dead-code.patch ext3-uninline-large-functions.patch ext4-uninline-large-functions.patch sleep-profiling.patch debug-workqueue-locking-sanity.patch pcengines-wrap-led-support.patch driver-base-memoryc-remove-warnings-of.patch remove-kernel-syscalls.patch protect-ext2-ioctl-modifying-append_only-immutable-etc-with-i_mutex.patch remove-hash_highmem.patch elf-fix-kcore-note-size-calculation.patch reiserfs-add-missing-d-cache-flushing.patch smp_call_function_single-check-that-local-interrupts-are-enabled.patch hotplug-cpu-clean-up-hotcpu_notifier-use.patch add-return-value-checking-of-get_user-in.patch handle-per-subsystem-mutexes-for-config_hotplug_cpu-not-set.patch dz-fixes-to-make-it-work.patch ext4-balloc-fix-_with_rsv-freeze.patch ide_scsi-allow-it-to-be-used-for-non-cd-only.patch make-8250_pnp-serial-driver-work-after.patch gcc-4-1-0-is-bust.patch cleanup-include-asm-generic-atomich.patch struct-seq_operations-and-struct-file_operations-constification.patch elfh-forward-declare-struct-file.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html