Re: [PATCH] hso: fix handling of modem port SERIAL_STATEnotifications

From: David Miller
Date: Mon Jan 06 2014 - 16:39:32 EST


From: Dan Williams <dcbw@xxxxxxxxxx>
Date: Mon, 06 Jan 2014 15:39:40 -0600

> If the driver ever gets to that callback for any !Modem port, something
> is horribly wrong, which the BUG_ON() was attempting to make explicit.
> The driver only enables that callback for the Modem port, so yeah, it's
> somewhat defensive. I'm happy to send a fixup if you like?

You don't have to if you think the BUG_ON() is warranted.
--
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/