On Wed, Jul 20, 2005 at 09:27:05AM +0200, Rolf Eike Beer wrote:
> I found that pciserial_remove_one() only disables the device if it finds 
> private data. This looks suspicious to me. Patch attached.

Makes no difference.  If we don't have the private data set, then
we have errored out during the initialisation, and we disabled the
device on the way out.  Moreover, the exit function won't even be
called.

So we actually have the guarantee that there will always be private
data here.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core
-
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to