The patch titled pcmcia: fix 'rmmod pcmcia' with unbound devices has been added to the -mm tree. Its filename is pcmcia-fix-rmmod-pcmcia-with-unbound-devices.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: pcmcia: fix 'rmmod pcmcia' with unbound devices From: Daniel Ritz <daniel.ritz-ml@xxxxxxxxxxxxxx> Having unbound PCMCIA devices: doing a 'find /sys' after a 'rmmod pcmcia' gives an oops because the pcmcia_device is not unregisterd from the driver core. fixes bugzilla #7481 Signed-off-by: Daniel Ritz <daniel.ritz@xxxxxx> Dominik Brodowski <linux@xxxxxxxxxxxxxxxxxxxx> Cc: Pavol Gono <Palo.Gono@xxxxxxxxx> Cc: <stable@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/pcmcia/ds.c | 3 +++ 1 file changed, 3 insertions(+) diff -puN drivers/pcmcia/ds.c~pcmcia-fix-rmmod-pcmcia-with-unbound-devices drivers/pcmcia/ds.c --- a/drivers/pcmcia/ds.c~pcmcia-fix-rmmod-pcmcia-with-unbound-devices +++ a/drivers/pcmcia/ds.c @@ -1271,6 +1271,9 @@ static void pcmcia_bus_remove_socket(str socket->pcmcia_state.dead = 1; pccard_register_pcmcia(socket, NULL); + /* unregister any unbound devices */ + pcmcia_card_remove(socket, NULL); + pcmcia_put_socket(socket); return; _ Patches currently in -mm which might be from daniel.ritz-ml@xxxxxxxxxxxxxx are pcmcia-fix-rmmod-pcmcia-with-unbound-devices.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