The patch titled libertas/if_spi: needs linux/semaphore.h has been added to the -mm tree. Its filename is libertas-if_spi-needs-linux-semaphoreh.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: libertas/if_spi: needs linux/semaphore.h From: Randy Dunlap <randy.dunlap@xxxxxxxxxx> libertas/if_spi.c needs to #include linux/semaphore.h to fix build errors: drivers/net/wireless/libertas/if_spi.c:59: error: field 'spi_ready' has incomplete type drivers/net/wireless/libertas/if_spi.c:60: error: field 'spi_thread_terminated' has incomplete type drivers/net/wireless/libertas/if_spi.c:785: error: implicit declaration of function 'down_interruptible' drivers/net/wireless/libertas/if_spi.c:787: error: implicit declaration of function 'up' drivers/net/wireless/libertas/if_spi.c:834: error: implicit declaration of function 'down' drivers/net/wireless/libertas/if_spi.c:943: error: implicit declaration of function 'sema_init' Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx> Cc: Dan Williams <dcbw@xxxxxxxxxx> Cc: Andrey Yurovsky <andrey@xxxxxxxxxxx> Cc: Colin McCabe <colin@xxxxxxxxxxx> Cc: "John W. Linville" <linville@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/net/wireless/libertas/if_spi.c | 1 + 1 file changed, 1 insertion(+) diff -puN drivers/net/wireless/libertas/if_spi.c~libertas-if_spi-needs-linux-semaphoreh drivers/net/wireless/libertas/if_spi.c --- a/drivers/net/wireless/libertas/if_spi.c~libertas-if_spi-needs-linux-semaphoreh +++ a/drivers/net/wireless/libertas/if_spi.c @@ -23,6 +23,7 @@ #include <linux/kthread.h> #include <linux/list.h> #include <linux/netdevice.h> +#include <linux/semaphore.h> #include <linux/spi/libertas_spi.h> #include <linux/spi/spi.h> _ Patches currently in -mm which might be from randy.dunlap@xxxxxxxxxx are origin.patch linux-next.patch msi-laptop-depends-on-rfkill.patch ati_pcigart-fix-printk-format-warning.patch radio-add-the-saa7706h-car-radio-dsp-to-v4l2-chip-identh.patch libertas-if_spi-needs-linux-semaphoreh.patch mfgpt-move-clocksource-menu.patch elf-coredump-replace-elf_core_extra_-macros-by-functions-fix.patch xen-add-kconfig-menu.patch gpio-add-driver-for-max7300-i2c-gpio-extender.patch doc-console-doc-should-read-bind-unbind-instead-of-bind-bind.patch cgroups-subsystem-module-unloading-fix.patch memcg-move-charges-of-anonymous-swap-fix.patch memcg-improve-performance-in-moving-swap-charge-fix.patch cgroup-implement-eventfd-based-generic-api-for-notifications-kconfig-fix.patch reiser4-export-remove_from_page_cache-fix.patch mutex-subsystem-synchro-test-module-add-missing-header-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