Re: [PATCH] lp: implement proper detach function for parport_driver lp

From: Hannes Weisbach
Date: Thu Jun 20 2013 - 04:26:13 EST



Am 19.06.2013 um 20:32 schrieb Greg Kroah-Hartman:
>
>> They are doing what I am doing: translating whatever the
>> user does on a /dev/parportN-node and sending device-specific commands
>> over USB. When they do parport_announce_port(), lp.c should also be
>> initialized and they should have the same problem.
>
> Why hasn't anyone reported that problem then? Surely someone must use
> these, they've been in the kernel tree for over a decade now.
I don't know. Maybe nobody uses them (anymore/ever)? Nobody tried to
rmmod the kernel module or compiled the driver into the kernel?

The solution to the problem (if someone encountered it) was probably
policy-based: just don't unload the module. The comment in lp.c is
clear: /* Write this some day. */ ;)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/