The patch titled FS: sysfs, remove SPIN_LOCK_UNLOCKED has been added to the -mm tree. Its filename is fs-sysfs-remove-spin_lock_unlocked.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: FS: sysfs, remove SPIN_LOCK_UNLOCKED From: Jiri Slaby <jirislaby@xxxxxxxxx> SPIN_LOCK_UNLOCKED is deprecated, use DEFINE_SPINLOCK instead Signed-off-by: Jiri Slaby <jirislaby@xxxxxxxxx> Cc: Greg Kroah-Hartman <gregkh@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/sysfs/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/sysfs/file.c~fs-sysfs-remove-spin_lock_unlocked fs/sysfs/file.c --- a/fs/sysfs/file.c~fs-sysfs-remove-spin_lock_unlocked +++ a/fs/sysfs/file.c @@ -37,7 +37,7 @@ void sysfs_printk_last_file(void) * sysfs_dirent->s_attr.open points to sysfs_open_dirent. s_attr.open * is protected by sysfs_open_dirent_lock. */ -static spinlock_t sysfs_open_dirent_lock = SPIN_LOCK_UNLOCKED; +static DEFINE_SPINLOCK(sysfs_open_dirent_lock); struct sysfs_open_dirent { atomic_t refcnt; _ Patches currently in -mm which might be from jirislaby@xxxxxxxxx are git-wireless.patch crisv10-serial-driver-rewrite-take-three.patch dzh-remove-useless-unused-module-junk.patch dz-always-check-if-it-is-safe-to-console_putchar.patch dz-dont-panic-when-request_irq-fails.patch dz-add-and-reorder-inclusions-remove-unneeded-ones.patch dz-update-kconfig-description.patch dz-rename-the-serial-console-structure.patch dz-fix-locking-issues.patch dz-handle-special-conditions-on-reception-correctly.patch maintainers-add-self-for-the-dz-serial-driver.patch reiser4.patch shrink_slab-handle-bad-shrinkers.patch net-ibm_newemac-remove-spin_lock_unlocked.patch watchdog-bfin_wdt-remove-spin_lock_unlocked.patch sbus-cpwatchdog-remove-spin_lock_unlocked.patch fs-sysfs-remove-spin_lock_unlocked.patch net-sunrpc-remove-spin_lock_unlocked.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