Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3a230038 authored by Bjørn Mork's avatar Bjørn Mork Committed by Greg Kroah-Hartman
Browse files

USB: serial: generic driver is only for testing



Make some noise during probe to make sure the users
are aware of the intended purpose of this driver.

Signed-off-by: default avatarBjørn Mork <bjorn@mork.no>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5eaee54b
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -845,6 +845,8 @@ static int usb_serial_probe(struct usb_interface *interface,
			module_put(type->driver.owner);
			module_put(type->driver.owner);
			return -EIO;
			return -EIO;
		}
		}
		dev_info(&interface->dev, "The \"generic\" usb-serial driver is only for testing and one-off prototypes.\n");
		dev_info(&interface->dev, "Tell linux-usb@vger.kernel.org to add your device to a proper driver.\n");
	}
	}
#endif
#endif
	if (!num_ports) {
	if (!num_ports) {