The patch titled ALSA: add struct forward declaration has been added to the -mm tree. Its filename is alsa-add-struct-forward-declaration.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: ALSA: add struct forward declaration From: Randy Dunlap <randy.dunlap@xxxxxxxxxx> I see about 10 sets of these in a random config. CC drivers/media/video/saa7134/saa7134-cards.o In file included from drivers/media/video/saa7134/saa7134.h:43, from drivers/media/video/saa7134/saa7134-cards.c:27: include/sound/pcm.h:59: warning: 'struct snd_pcm_substream' declared inside parameter list include/sound/pcm.h:59: warning: its scope is only this definition or declaration, which is probably not what you want include/sound/pcm.h:60: warning: 'struct snd_pcm_substream' declared inside parameter list include/sound/pcm.h:62: warning: 'struct snd_pcm_substream' declared inside parameter list include/sound/pcm.h:64: warning: 'struct snd_pcm_substream' declared inside parameter list include/sound/pcm.h:65: warning: 'struct snd_pcm_substream' declared inside parameter list include/sound/pcm.h:66: warning: 'struct snd_pcm_substream' declared inside parameter list include/sound/pcm.h:67: warning: 'struct snd_pcm_substream' declared inside parameter list include/sound/pcm.h:68: warning: 'struct snd_pcm_substream' declared inside parameter list include/sound/pcm.h:71: warning: 'struct snd_pcm_substream' declared inside parameter list include/sound/pcm.h:73: warning: 'struct snd_pcm_substream' declared inside parameter list include/sound/pcm.h:75: warning: 'struct snd_pcm_substream' declared inside parameter list include/sound/pcm.h:76: warning: 'struct snd_pcm_substream' declared inside parameter list include/sound/pcm.h:77: warning: 'struct snd_pcm_substream' declared inside parameter list Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- include/sound/pcm.h | 2 ++ 1 files changed, 2 insertions(+) diff -puN include/sound/pcm.h~alsa-add-struct-forward-declaration include/sound/pcm.h --- a/include/sound/pcm.h~alsa-add-struct-forward-declaration +++ a/include/sound/pcm.h @@ -55,6 +55,8 @@ struct snd_pcm_hardware { size_t fifo_size; /* fifo size in bytes */ }; +struct snd_pcm_substream; + struct snd_pcm_ops { int (*open)(struct snd_pcm_substream *substream); int (*close)(struct snd_pcm_substream *substream); _ Patches currently in -mm which might be from randy.dunlap@xxxxxxxxxx are origin.patch git-acpi.patch git-alsa.patch alsa-add-struct-forward-declaration.patch cpufreq-select-consistently-re-2619-rc5-mm1.patch git-ieee1394.patch git-infiniband.patch git-input.patch mtd-fix-printk-format-warning.patch mtd-esb2rom-uses-pci.patch git-ocfs2.patch parisc-fix-module_param-iommu-permission.patch git-scsi-misc.patch scsi-advansys-wrap-pci-table-inside-ifdef-config_pci.patch make-i386-default-to-highmem4g-instead-of-nohighmem.patch fuse-fix-compile-without-config_block.patch tifm-fix-null-ptr-and-style.patch kconfig-printk_time-depends-on-printk.patch hpfs-fix-printk-format-warnings.patch i2o-handle-__copy_from_user.patch i2o-fix-i2o_config-without-adaptec-extension.patch parport-section-mismatches-with-hotplug=n.patch agp-amd64-section-mismatches-with-hotplug=n.patch ciss-require-same-scsi-module-support.patch export-toshiba-smm-support-for-neofb-module.patch kernel-doc-add-fusion-and-i2o-to-kernel-api-book.patch kernel-doc-fix-fusion-and-i2o-docs.patch kernel-api-book-remove-videodev-chapter.patch kernel-doc-stricter-function-pointer-recognition.patch reporting-bugs-request-config-file.patch lib-functions-always-build-hweight-for-loadable-modules.patch generic-bug-implementation-handle-bug=n.patch visws-sgivwfb-is-module-needs-exports.patch extend-notifier_call_chain-to-count-nr_calls-made-fixes.patch profile_likely-export-do_check_likely.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