The patch titled fbcon: Fix module ref counting has been removed from the -mm tree. Its filename is vt-binding-update-fbcon-to-support-binding-fix-module-ref-counting.patch This patch was dropped because it was folded into vt-binding-update-fbcon-to-support-binding.patch ------------------------------------------------------ Subject: fbcon: Fix module ref counting From: "Antonino A. Daplas" <adaplas@xxxxxxxxx> fbcon may decrement the module ref count of drivers to < 0 when unloading. This is because fbcon_exit() is called more than once (once on unbind, and another on module unload). Signed-off-by: Antonino Daplas <adaplas@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/video/console/fbcon.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff -puN drivers/video/console/fbcon.c~vt-binding-update-fbcon-to-support-binding-fix-module-ref-counting drivers/video/console/fbcon.c --- a/drivers/video/console/fbcon.c~vt-binding-update-fbcon-to-support-binding-fix-module-ref-counting +++ a/drivers/video/console/fbcon.c @@ -1213,7 +1213,7 @@ static void fbcon_deinit(struct vc_data ops->flags &= ~FBCON_FLAGS_INIT; finished: - if (!con_is_bound(&fb_con) && !fbcon_has_exited) + if (!con_is_bound(&fb_con)) fbcon_exit(); return; @@ -3195,6 +3195,9 @@ static void fbcon_exit(void) struct fb_info *info; int i, j, mapped; + if (fbcon_has_exited) + return; + #ifdef CONFIG_ATARI free_irq(IRQ_AUTO_4, fbcon_vbl_handler); #endif _ Patches currently in -mm which might be from adaplas@xxxxxxxxx are origin.patch savagefb-allocate-space-for-current-and-saved-register.patch savagefb-add-state-save-and_restore-hooks.patch fbdev-more-accurate-sync-range-extrapolation.patch nvidiafb-revise-pci_device_id-table.patch atyfb-fix-hardware-cursor-handling.patch atyfb-remove-unneeded-calls-to-wait_for_idle.patch atyfb-set-correct-acceleration-flags.patch epson1355fb-update-platform-code.patch vesafb-update-platform-code.patch vfb-update-platform-code.patch vga16fb-update-platform-code.patch fbdev-static-pseudocolor-with-depth-less-than-4-does.patch savagefb-whitespace-cleanup.patch fbdev-firmware-edid-fixes.patch nvidiafb-add-support-for-geforce-6100-and-related-chipsets.patch vesafb-fix-return-code-of-vesafb_setcolreg.patch vesafb-prefer-vga-registers-over-pmi.patch atyfb-fix-dead-code.patch fbdev-coverity-bug-85.patch fbdev-coverity-bug-90.patch backlight-fix-kconfig-dependency.patch fbdev-fix-logo-rotation-if-width-=-height.patch macmodes-fix-section-warning.patch atyfb-fix-section-warnings.patch detaching-fbcon-fix-vgacon-to-allow-retaking-of-the.patch detaching-fbcon-fix-give_up_console.patch detaching-fbcon-remove-calls-to-pci_disable_device.patch detaching-fbcon-add-sysfs-class-device-entry-for-fbcon.patch detaching-fbcon-clean-up-exit-code.patch detaching-fbcon-add-capability-to-attach-detach-fbcon.patch detaching-fbcon-update-documentation.patch vt-binding-add-binding-unbinding-support-for-the-vt.patch vt-binding-update-fbcon-to-support-binding.patch vt-binding-update-fbcon-to-support-binding-fix-module-ref-counting.patch vt-binding-fbcon-update-documentation.patch vt-binding-add-new-doc-file-describing-the-feature.patch vt-binding-add-sysfs-control-to-the-vt-layer.patch vt-binding-add-sysfs-control-to-the-vt-layer-fix-module-ref-counting.patch vt-binding-make-vt-binding-a-kconfig-option.patch vt-binding-do-not-create-a-device-file-for-class-device.patch vt-binding-update-documentation.patch vt-binding-update-documentation-fix.patch vt-binding-make-mdacon-support-binding.patch vt-binding-make-newport_con-support-binding.patch vt-binding-make-newport_con-support-binding-fix.patch vt-binding-make-promcon-support-binding.patch vt-binding-make-sticon-support-binding.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