The patch titled watchdog: fix rio watchdog probe function has been added to the -mm tree. Its filename is watchdog-fix-rio-watchdog-probe-function.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: watchdog: fix rio watchdog probe function From: Thomas Gleixner <tglx@xxxxxxxxxxxxx> After sucessfully registering the misc device the driver iounmaps the hardware registers and kfree's the device data structure. Ouch ! This was introduced with commit e42311d75 (riowatchdog: Convert to pure OF driver) and went unnoticed for more than a year :) Return success instead of dropping into the error cleanup code path. Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Cc: David S. Miller <davem@xxxxxxxxxxxxx> Cc: Wim Van Sebroeck <wim@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- diff -puN drivers/watchdog/riowd.c~watchdog-fix-rio-watchdog-probe-function drivers/watchdog/riowd.c --- a/drivers/watchdog/riowd.c~watchdog-fix-rio-watchdog-probe-function +++ a/drivers/watchdog/riowd.c @@ -206,7 +206,7 @@ static int __devinit riowd_probe(struct dev_set_drvdata(&op->dev, p); riowd_device = p; - err = 0; + return 0; out_iounmap: of_iounmap(&op->resource[0], p->regs, 2); _ Patches currently in -mm which might be from tglx@xxxxxxxxxxxxx are linux-next.patch kernel-core-add-smp_call_function_any.patch arch-x86-kernel-cpu-cpufreq-acpi-cpufreqc-avoid-cross-cpu-interrupts-by-using-smp_call_function_any.patch genirq-switch-proc-irq-spurious-to-seq_file.patch timer-stats-fix-del_timer_sync-and-try_to_del_timer_sync.patch hrtimers-remove-the-timer_stats_active-check-when-setting-the-start-info.patch itimers-fix-racy-writes-to-cpu_itimer-fields.patch posix-cpu-timers-optimize-and-document-timer_create-callback.patch watchdog-fix-rio-watchdog-probe-function.patch x86-fix-kernel-panic-on-i386-machine-when-booting-with-profile=2.patch vfs-implement-posix-o_sync-and-o_dsync-semantics.patch timecompare-fix-half-y2k38-problem-in-timecompare_update-while-calculating-offset.patch bitmap-introduce-bitmap_set-bitmap_clear-bitmap_find_next_zero_area.patch iommu-helper-use-bitmap-library.patch fatfs-use-common-time_to_tm-in-fat_time_unix2fat.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