Make some noise during probe to make sure the users are aware of the intended purpose of this driver. Signed-off-by: Bjørn Mork <bjorn@xxxxxxx> --- Greg KH <greg@xxxxxxxxx> writes: > Looks good to me, I'll go make this change, care to provide a > Signed-off-by: for it? OK. Like this then? Although I believe you are just as responsible for this as me, since I sto^H^H^Hborrowed part of the text from your mail. But I understand that you are working too much and need to hide some of it :-) Bjørn drivers/usb/serial/usb-serial.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/serial/usb-serial.c b/drivers/usb/serial/usb-serial.c index 130a573..0d9f512 100644 --- a/drivers/usb/serial/usb-serial.c +++ b/drivers/usb/serial/usb-serial.c @@ -845,6 +845,8 @@ static int usb_serial_probe(struct usb_interface *interface, module_put(type->driver.owner); return -EIO; } + dev_info(&interface->dev, "\"generic\" usb-serial driver is only for testing and one-off prototypes\n"); + dev_info(&interface->dev, "tell linux-usb@xxxxxxxxxxxxxxx to add your device to a proper driver\n"); } #endif if (!num_ports) { -- 1.7.10 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html